ARCHITECTURAL DRAFT

Clouds and the Earth's Radiant Energy System (CERES) Data Management System Software Design Document CERES Inversion to Instantaneous TOA Fluxes and Empirical Estimates of Surface Radiation Budget (Subsystems 4.5 and 4.6) ARCHITECTURAL DRAFT
Erika
Geier1, Lynn Jimenez2, Sandy Nolan2, and John Robbins2
1 NASA Langley Research Center Mail Stop 423 Hampton, VA 23681-0001 2Science Applications International Corporation (SAIC) One Enterprise Parkway, Suite 300 Hampton, Virginia 23666 Atmospheric Sciences Division NASA Langley Research Center Hampton, Virginia 23681-0001 Release 1.0 March 1996 Preface
The Clouds and the Earth's Radiant Energy System (CERES) Data Management System supports the data processing needs of the CERES science research to increase understanding of the Earth's climate and radiant environment. The CERES Data Management Team works with the CERES Science Team to develop the software necessary to support the science algorithms. This software, being developed to operate at the Langley Distributed Active Archive Center (DAAC), produces an extensive set of science data products. The Data Management System consists of 12 subsystems; each subsystem represents a stand-alone executable program. Each subsystem executes when all of its required input data sets are available and produces one or more archival science products. The documentation for each subsystem describes the software design at various stages of the development process and includes items such as Software Requirements Documents, Data Products Catalogs, Software Design Documents, Software Test Plans, and User's Guides. This version of the Software Design Document records the architectural design of each Subsystem for Release 1 code development and testing of the CERES science algorithms. This is a PRELIMINARY document, intended for internal distribution only. Its primary purpose is to record what was done to accomplish Release 1 development and to be used as a reference for Release 2 development. iii TABLE OF CONTENTS Section 1.0 Page Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.1 1.2 1.3 1.4 Document Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Subsystem Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Key Concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Implementation Constraints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2.0 Architectural Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Appendix A - Abbreviations, Acronyms, and Symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-1 Appendix B - External Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-1 Appendix C - Data and Constants . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-1 Appendix D - Error Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D-1 Appendix E - Structure Chart Symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E-1 LIST OF FIGURES Figure Figure 2-1. Figure 2-2. Figure B-1. Figure E-1. Page CERES TOA and Surface Fluxes Processing Functional Structure Chart . . . . . . 9 CERES TOA and Surface Fluxes Processing Flow . . . . . . . . . . . . . . . . . . . . . . . 15 CERES TOA and Surface Fluxes QC Report . . . . . . . . . . . . . . . . . . . . . . . . . . B-4 Structure Chart Symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E-1 LIST OF TABLES Table Table 1-1. Table 1-2. Table 1-3. Table 1-4. Table C-1. Table D-1. Page Basic Cloud Categories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 ERBE Inversion Scene Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Colatitudinal Zone Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Spectral Correction Scene Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 F90 Module inv_data Constants . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-1 Error Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D-1 iv 1.0 Introduction
The Clouds and the Earth's Radiant Energy System (CERES) is a key component of the Earth Observing System (EOS). The CERES instruments are improved models of the Earth Radiation Budget Experiment (ERBE) scanner instruments, which operated from 1984 through 1990 on the National Aeronautics and Space Administration's (NASA) Earth Radiation Budget Satellite (ERBS) and on the National Oceanic and Atmospheric Administration's (NOAA) operational weather satellites NOAA-9 and NOAA-10. The strategy of flying instruments on Sunsynchronous, polar orbiting satellites, such as NOAA-9 and NOAA-10, simultaneously with instruments on satellites that have precessing orbits in lower inclinations, such as ERBS, was successfully developed in ERBE to reduce time sampling errors. CERES will continue that strategy by flying instruments on the polar orbiting EOS platforms simultaneously with an instrument on the Tropical Rainfall Measuring Mission (TRMM) spacecraft, which has an orbital inclination of 35 degrees. In addition, to reduce the uncertainty in data interpretation and to improve the consistency between the cloud parameters and the radiation fields, CERES will include cloud imager data and other atmospheric parameters. The first CERES instrument is scheduled to be launched on the TRMM spacecraft in 1997. Additional CERES instruments will fly on the EOS-AM platforms, the first of which is scheduled for launch in 1998, and on the EOSPM platforms, the first of which is scheduled for launch in 2000. 1.1 Document Overview
This document provides the Release 1 Software Design for the CERES Inversion to Instantaneous TOA Fluxes and Empirical Estimates of Surface Radiation Budget, Subsystems 4.5 and 4.6, as defined in the CERES Software Requirements Document (SRD) (see Reference 1). This design will serve as a basis for Subsystems 4.5 and 4.6 Release 1 software. The software design for Subsystems 4.1 through 4.4 will be addressed in separate documents (see References 2 and 3). The intended audience of this document consists of CERES subsystem data management teams, subsystem test teams, and science reviewers. This document is organized as follows: Section 1.0 Section 1.1 Introduction - gives an overview of CERES project as a key component of EOS. Document Overview - states the purpose of this document and gives a description of its general content. Subsystem Overview - presents an overview of Cloud Retrieval and Radiative Flux Inversion Subsystem 4. Key Concepts - defines the key concepts used throughout this document. Implementation Constraints - describes constraints on the design and implementation of the Release 1 software for Subsystems 4.5 and 4.6. Section 1.2 Section 1.3 Section 1.4 1 Section 2.0 Architectural Design - describes the hierarchical structure and processing flow of Subsystems 4.5 and 4.6. References Appendix A Appendix B Abbreviations, Acronyms, and Symbols External Interface - describes each data file use by Subsystems 4.5 and 4.6. A description and example of the Quality Control Report generated by Subsystems 4.5 and 4.6 is also included in this appendix. Data and Constants - describes the global data used by Subsystem 4.5 and 4.6. Error Messages - provides a list of error messages that may be generated by Subsystems 4.5 and 4.6. Structure Chart Symbols - defines symbols used on the hierarchical structure charts and flow diagrams presented in this document. Appendix C Appendix D Appendix E 1.2 Subsystem Overview
The Cloud Retrieval and Radiative Flux Inversion Subsystem 4 is divided into six subsystems that correspond to the CERES Algorithm Theoretical Basis Document (ATBD) Subsystems 4.1 through 4.6 (see Reference 4). The Cloud Working Group is responsible for Subsystems 4.1 through 4.4, the Inversion Working Group is responsible for Subsystem 4.5, and the Surface and Atmospheric Radiation Budget (SARB) Working Group is responsible for Subsystem 4.6. The six subsystems described in the CERES ATBD under Subsystem 4 are the following: 1. Subsystem 4.1, Imager Clear-Sky Determination and Cloud Detection, will collect ancillary input information for each imager pixel; determine the surface conditions and classify each pixel as clear, cloudy, or uncertain; and determine a cloud mask (see Reference 4). 2. Subsystem 4.2, Cloud Pressure Retrieval, will determine cloud macrophysical properties for cloudy pixels (see Reference 4). 3. Subsystem 4.3, Cloud Optical Property Retrieval, will determine cloud microphysical properties for cloudy pixels (see Reference 4). 4. Subsystem 4.4, Convolution of Imager Cloud Properties with CERES Footprint Point Spread Function (PSF), will map imager pixel cloud properties onto the CERES footprint and calculate cloud statistics over the footprint (see Reference 5). 5. Subsystem 4.5, CERES Inversion to Instantaneous TOA Fluxes, will determine the CERES Inversion shortwave (SW) and longwave (LW) scene types based on the surface type and 2 cloud parameters for each CERES footprint and will derive CERES unfiltered SW, LW, and window (WN) radiances by applying spectral correction coefficients to filtered SW, total (TOT), and WN radiances. The unfiltered radiances will be inverted to instantaneous Top-of-the-Atmosphere (TOA) fluxes (see Reference 6). 6. Subsystem 4.6, Estimate Surface Radiation Budget, will empirically estimate the SW downward, SW net, LW downward, and LW net surface fluxes based on TOA fluxes, cloud properties, and meteorological data (see Reference 7). Subsystem 4 software will be designed as three software packages. The software for Subsystem 4.4 will generate a preliminary Single Satellite CERES Footprint TOA and Surface Fluxes (SSF) file. This preliminary SSF file will be input data to the Subsystems 4.5 and 4.6 software, which will fill in Angular Distribution Model (ADM) types, unfiltered radiances, and TOA and surface flux parameters on each footprint and create an SSF archival product. The software design for Subsystems 4.1 through 4.4 will be described in separate documents (see References 2 and 3). 1.3 Key Concepts
The following key concepts are associated with Subsystems 4.5 and 4.6: Angular Distribution Models (ADMs) are a set of values used to correct for the anisotropy of the radiation field when deriving radiative flux using scanner radiance observations. LW radiance ADMs (limb-darkening models) are a function of Inversion scene type, viewing zenith, and colatitude, while SW radiance ADMs (bidirectional models) are a function of Inversion scene type and three angles: satellite viewing zenith, solar zenith, and relative azimuth between the Sun and the satellite. The ERBE ADMs will be used with Release 1 and Release 2 software (see Reference 1). During the 18 months following the TRMM launch, the Inversion Working Group will be preparing a new set of SW, LW, and WN channel ADMs. These new CERES ADMs will be used as part of the Release 3 data processing system to invert SW, LW, and WN channel unfiltered radiance measurements to fluxes at the TOA. It is anticipated that previously calculated TOA fluxes based on ERBE ADMs will be recalculated using the new CERES ADMs. The surface fluxes will also be recalculated and stored on the SSF product. CERES footprint is defined as a single CERES Field-of-View (FOV). Cloud imager derived properties will be convolved with the CERES PSF for each CERES footprint (see Reference 5). CERES ADM types will be based on a combination of geographic surface types and cloud properties. For Release 1 and Release 2, the twelve ERBE Inversion scene types will be used as the CERES ADM types (see Reference 6). 3 ERBE Inversion scene types are scene identification types based on a combination of the five geographic surface types (ocean, land, snow, desert, and coastal or land-ocean mix) and four basic cloud covers which are listed in Table 1-1. The twelve ERBE scene types are listed in Table 1-2. Table 1-1. Basic Cloud Categories
CLOUD CATEGORY Clear Partly cloudy Mostly cloudy Overcast DEFINITION 0% cloud cover 5% 5% < cloud cover 50% 50% < cloud cover 95% 95% < cloud cover 100% Table 1-2. ERBE Inversion Scene Types
INDEX 1 2 3 4 5 6 7 8 9 10 11 12 Clear ocean Clear land Clear snow Clear desert Clear land-ocean mix (coastal) Partly cloudy over ocean Partly cloudy over land or desert Partly cloudy over land-ocean mix Mostly cloudy over ocean Mostly cloudy over land or desert Mostly cloudy over land-ocean mix Overcast SCENE TYPES CERES Spectral Correction Scene Types are the same for CERES as for ERBE. There are five scenes [ocean, land, desert, snow, cloud] and three colatitudinal zones, listed in Table 1-3 for a total of 12 Spectral Correction Scene Types as shown in Table 1-4. 4 Table 1-3. Colatitudinal Zone Definitions
COLATITUDINAL ZONE Tropical Mid-latitudinal Polar RANGE OF COLATITUDE, 60 < 120 30 < 60 or 120 < 150 0 30 or 150 < 180 Table 1-4. Spectral Correction Scene Types
SCENE TYPE 1 2 3 4 5 6 7 8 9 10 11 12 COLATITUDINAL ZONE Tropical Mid-latitudinal Polar Tropical Mid-latitudinal Polar Tropical Mid-latitudinal Polar Tropical or Mid-latitudinal Polar Tropical or Mid-latitudinal SCENE Ocean Ocean Ocean Land Land Land Clouds Clouds Clouds Snow Snow Desert Spectral correction coefficients are sets of constants which correct the radiometric measurements for the imperfect spectral response of the instruments. There are separate sets of daytime and nighttime coefficients for each satellite instrument (see Reference 1). Appendix B of this document contains a detailed description of the CERES Spectral Correction Coefficients File (SCCOEF). 5 1.4 Implementation Constraints
The CERES Inversion to Instantaneous TOA Fluxes and the Empirical Estimates of Surface Radiation Budget, Subsystems 4.5 and 4.6, software design was formulated based on the Subsystems' software requirements (see Reference 6) and meetings with the CERES Science Team and Data Management Team. The software design approach for Subsystems 4.5 and 4.6 takes into account the plan for CERES software to be designed in three releases. The first two releases of the software will be completed prior to the launch of the TRMM satellite and the third release is expected to be operational 18 months after the TRMM launch. Release 1 software will process global data from the existing ERBE/Advanced Very High Resolution Radiometer (AVHRR)/High Resolution Infrared Radiation Sounder (HIRS) data from the NOAA-9 and NOAA-10 spacecraft and will be used to test algorithm concepts. Release 2 software will process data from the CERES Instruments. Based on the processing analysis of Release 2 data, the Inversion Working Group will develop a set of SW, LW and WN channel CERES ADMs. Release 3 software will use these improved ADMs to derive TOA flux estimates for each CERES footprint. Until the new CERES ADMs are available, the ERBE ADMs will be used (see Reference 6). Subsystems 4.5 and 4.6 software design will be implemented using the FORTRAN 90 programming language and the Science Data Production (SDP) Toolkit utilities (see Reference 8). Subsystem software will use self-contained FORTRAN 90 modules which can be modified and replaced without effecting other parts of the software. 6 2.0 Architectural Design
CERES Inversion to Instantaneous TOA Fluxes and the Empirical Estimates of Surface Radiation Budget, Subsystems 4.5 and 4.6, converts filtered CERES SW, TOT, and WN channel radiance measurements to instantaneous SW, LW, and WN radiative flux estimates at the TOA, and produces SW and LW radiative flux estimates at the Earth's surface for each CERES footprint. The first function of the Subsystems 4.5 and 4.6 software is to initialize the Subsystem by obtaining processing and control parameters and opening external files. The Preliminary SSF (PRE_SSF) file; the archival output SSF file; and the Meteorological, Ozone, and Aerosol (MOA) product file are opened using the SDP Toolkit, and metadata is read from the PRE_SSF file header. The spectral correction coefficients and the angular distribution models files are opened using the SDP Toolkit routines. The Spectral Correction Coefficients and the ADMs are then read into memory. The Spectral Correction model number parameter (see Reference 1) will be obtained from the SDP Toolkit Process Control File (PCF). Following subsystem initialization, PRE_SSF footprint records are read in and processed individually. For each footprint, all of the SSF footprint parameters which are calculated by Subsystem 4.5 are initialized to default values. The geo-scene type, cloud coverage, and ADM types are determined, and the ADM types are written to the SSF archival product footprint. The CERES grid region number for the footprint is calculated, and the corresponding MOA parameters for that region are stored for input to the surface flux algorithms. The individual CERES filtered radiance bit flags are unpacked from the Instrument Earth Scans (IES) Quality Flag on the PRE_SSF. If a radiance bit flag indicates valid data and the filtered radiance data is within range, then the corresponding filtered radiance flag on the SSF footprint is set to good. If a good filtered radiance measurement exists for the footprint, then the Inversion driver subroutine is called. The SW, TOT, and WN radiances are unfiltered into SW, LW, and WN channel radiances using one of two spectral correction models (see Reference 1). Model 1 calculates the SW and LW unfiltered radiances with no WN channel component and Model 2 calculates the SW and LW unfiltered radiances using a WN channel component. In both models, the WN channel measurement is unfiltered using only a WN channel component. Each of these ^ unfiltered measurements, m, is inverted to a flux, M , at the TOA by m ^ M = ------b where b is an interpolated SW or LW ADM (see Appendix A) for the footprint. WN TOA fluxes are inverted using an interpolated LW ADM. SW, LW, and WN unfiltered radiance parameters and SW, LW, and WN TOA flux parameters that have values within a predefined range are written to the SSF footprint (see Reference 9). After the radiances are inverted, all surface flux parameters on the SSF footprint are initialized to default values and the SW and LW surface flux algorithms for the footprint are processed. The Model A SW net and downward surface fluxes are estimated using the Li-Leighton algorithm (see References 10 and 11). (Model B SW flux parameters on the SSF footprint are place holders and will contain a default value.) Model A LW net and downward surface fluxes are estimated using 7 the Ramanathan-Inamdar algorithm if the appropriate conditions are met. For the Release 1 Subsystem 4.6 software, the Model A LW flux parameters are estimated only if the scene type is clear-sky over ice free ocean or clear-sky over land in the tropics (see Reference 12). Model B LW net and downward surface fluxes are estimated using the Gupta algorithm for all scene types (see Reference 13). The surface flux estimates that are within a predefined range are written to the corresponding parameters on the SSF footprint (see Reference 9). The SSF record is then written to the archival SSF file. After all PRE_SSF footprints have been processed, Subsystem finalization is performed. All opened files are closed and a Quality Control Report is written. Figure 2-1 shows the hierarchical structure of Subsystems 4.5 and 4.6 and Figure 2-2 illustrates the Subsystem data processing flow. There is one operating mode for the CERES Inversion to Instantaneous TOA Fluxes and the Empirical Estimates of Surface Radiation Budget, Subsystems 4.5 and 4.6, which accepts input for both the initial processing and the reprocessing of data. Initial processing will use PRE_SSF input created by the Convolution of Imager Cloud Properties with CERES Footprint Point Spread Function, Subsystem 4.4, (see Reference 3). Reprocessing will use input data from an archival SSF product. The input data for both initial processing and reprocessing will use the same format. 8 invsurf 4.5_6-0 TOA and Surface Fluxes Processing Driver invsurf_start G4.5_6-0 Global Data Module 4.5_6-2 inv_data invsurf_footprint 4.5_6-3 invsurf_final 4.5_6-1 9
B-3 TOA and Surface Fluxes Processing Initialization Read and Process CERES Footprint TOA and Surface Fluxes Processing Finalization A-2 C-6 Figure 2-1. CERES TOA and Surface Fluxes Processing Functional Structure Chart (1 of 6) A ssf_tk_open init_surf_anc G.4.5_6-1.1 G.4.5_6-2.1 Read Spectral Correction Coefficients Open Surface Flux Ancillary Data Files SCCOEF_read CADM_read GC-CERESlib Read ERBE Angular Direction Models WriteReport GC-CERESlib GC-CERESlib 10 Open SSF file Write Error Message to Log File Figure 2-1. CERES TOA and Surface Fluxes Processing Functional Structure Chart (2 of 6) B ssf_read 4.5_6-2.1 Prepare Inputs for SSF Footprint CERES Inversion Process Estimate Surface Fluxes Process Write SS Footprint 4.5_6-2.2 4.5_6-2.3 GC-CERESlib invsurf_setup invsurf_inversion invsurf_surf_fluxes ssf_write WriteReport GC-CERESlib Write Error Message to Log File GC-CERESlib Read PRE_SSF Footprint D-4 E-5 11
get_surf_anc GC-CERESlib Check Bounds on SSF Footprint Parameter 4.5_6-2.1.1 Get Scene Identification and ADM Types check_bnds invsurf_scene_id 4.5_6-2.1.2 Unpack IES Quality Flag invsurf_unpk_flg update_region G.4.5_6-1.2 Get Ancillary Data for Surface Fluxes Algorithm G.4.5_6-1.2.1 Update Ancillary Data Structure Figure 2-1. CERES TOA and Surface Fluxes Processing Functional Structure Chart (3 of 6) D inv_check_inp G.4.5_6-2.2 GC-CERESlib Determine SW Anisotropic Model Determine LW and WN Anisotropic Models GC-CERESlib Apply Spectral Correction Algorithm 4.5_6-2.2.2 Invert Scanner Data spcor_drv get_CADM_SW get_CADM_LW inv_toa inv_stats 4.5_6-2.2.3 Process Inversion Statistics 4.5_6-2.2.1 Validate Input for Spectral Correction Algorithm 12
spcor_model1 spcor_model2 spcor_wn WriteReport GC-CERESlib G.4.5_6-2.2.4 Define WN Channel Composite Spectral Correction Coefficient G.4.5_6-2.2.3 Define Composite Spectral Correction Coefficients Model 2 Write Error Message to Log File G.4.5_6-2.2.2 Define Composite Spectral Correction Coefficients Model 1 spcor_coef G.4.5_6-2.2.1 Define Spectral Correction Coefficient Sets Figure 2-1. CERES TOA and Surface Fluxes Processing Functional Structure Chart (4 of 6) E surf_sw_moda_drv surf_lw_moda_drv GC-CERESlib LW Downward and Net Surface Flux Model A Algorithm Driver surf_lw_modb_drv GC-CERESlib LW Downward and Net Surface Flux Model B Algorithm Driver 13 GC-CERESlib SW Downward and Net Surface Flux Model A Algorithm Driver Figure 2-1. CERES TOA and Surface Fluxes Processing Functional Structure Chart (5 of 6) C 14
ssf_tk_close G.4.5_6-1.3 Close Surface Flux Ancillary Data Files cleanup_surf_anc invsurf_qc 4.5_6-3.1 Write Quality Control Report GC-CERESlib Close/Finalize SSF Files Figure 2-1. CERES TOA and Surface Fluxes Processing Functional Structure Chart (6 of 6) Start A Open Files Read Spectral Correction Coefficients Is Radiance Data Good? NO B YES Read Angular Distribution Models C Read PRE_SSF Footprint Data Unfilter SW, LW and WN Channel Radiances Get SW and LW ADM Values Invert SW, LW, and WN Radiance to TOA Fluxes Create Inversion Statistics Estimate SW Net Surface Flux (LiLeighton Algorithm) Estimated SW Downward Surface Flux (Li Algorithm) Estimate LW Net and Downward Surface Flux (Gupta Algorithm) Write SSF Footprint Data Get Scene ID Last PRE_SSF Footprint Processed ? YES NO C Calculate Solar Constant Determine Region Number Close Files Get MOA Data Unpack IES Quality Flag Estimate LW Net and Downward Surface Flux (RamanathanInamdar Algorithm) Write Quality Control Report Stop A B Figure 2-2. CERES TOA and Surface Fluxes Processing Flow 15 References
1. CERES Instantaneous Inversion to TOA Fluxes and Empirical Estimates of Surface Radiation Budget (Subsystems 4.5 and 4.6) Software Requirements Document, January 1995. 2. CERES Cloud Retrieval (Subsystems 4.1-4.3), 1996. 3. CERES Convolution of Imager Cloud Properties with CERES Footprint Point Spread Function (Subsystem 4.4) Software Design Document, 1996. 4. CERES Algorithm Theoretical Basis Document Overview of Cloud Retrieval and Radiative Flux Inversion (Subsystem 4.0), 1994. 5. CERES Algorithm Theoretical Basis Document Convolution of Imager Cloud Properties with CERES Footprint Point Spread Function (Subsystem 4.4), 1994. 6. CERES Algorithm Theoretical Basis Document CERES Inversion to Instantaneous TOA Fluxes (Subsystem 4.5), 1994. 7. CERES Algorithm Theoretical Basis Document Estimate Longwave and Shortwave Surface Radiation Budget (Subsystem 4.6), 1994. 8. SDP Toolkit Users Guide for the ECS Project, Hughes Applied Information Systems, November 1994. 9. CERES Data Management System Data Products Catalog, Release 1, July 1994. 10. Li, Z., H.G. Leighton, K. Masuda, and T. Takashima, 1993: Estimation of SW flux absorbed at the surface from TOA reflected flux. J. Climate 6, 317-330. 11. Li and Garand: Estimation of Surface Albedo from Space; JGR vol. 99, pg. 8335 - 8350, Apr. 1994. 12. Inamdar, A. K. and V. Ramanathan 1994: Physics of greenhouse effect and convection in the warm oceans, J. Climate, in press. 13. Gupta, S. K., W. L. Darnell, and A. C. Wilber, 1992: A parameterization for longwave surface radiation from satellite data: Recent improvements. J. Appl. Meteorol., Vol. 31, 1361-1367. 16 APPENDIX A Abbreviations, Acronyms, and Symbols Appendix A - Abbreviations, Acronyms, and Symbols
ADM ATBD AVHRR CADM CERES DAAC EOS EOS-AM EOS-PM ERBE ERBS FOV HIRS IES LW MOA NASA NOAA PCF PRE_SSF PSF RAPS QC SARB SCCOEF SDP SRD SSF SW TOA TOT TRMM TSFQC WN Angular Distribution Model Algorithm Theoretical Basis Document Advanced Very High Resolution Radiometer CERES Angular Distribution Models Clouds and the Earth's Radiant Energy System Distributed Active Archive Center Earth Observing System EOS Morning Crossing Mission EOS Afternoon Crossing Mission Earth Radiation Budget Experiment Earth Radiation Budget Satellite Field-of-View High Resolution Infrared Radiation Sounder Instrument Earth Scans Longwave Meteorological, Ozone, and Aerosol National Aeronautics and Space Administration National Oceanic and Atmospheric Administration Process Control File Preliminary SSF Point Spread Function Rotating Azimuth Plane Scanner Quality Control Surface and Atmospheric Radiation Budget Spectral Correction Coefficient File Science Data Production Software Requirements Document Single Satellite CERES Footprint TOA and Surface Fluxes Shortwave Top-of-the-Atmosphere Total Tropical Rainfall Measuring Mission TOA and Surface Flux Quality Control Report Window A-1 APPENDIX B External Interface Appendix B - External Interface CADM
CERES Angular Distribution Models (CADMs) are inputs to the CERES radiative flux inversion process and are used to invert CERES unfiltered radiance measurements to SW, LW, and WN fluxes at the TOA. For Release 1, the CADM file will contain ERBE production ADMs. This file will include LW (limb darkening) models, SW (bidirectional) models, and SW and LW normalization constants. In Release 1 CERES software, the ERBE LW ADMs, and LW normalization constants will be used to invert the WN channel unfiltered radiance measurements. The ERBE LW models are a function of the LW scene type, viewing zenith angle, the colatitude of the scanner target, and the season of the year. The ERBE LW normalization constants for bi-linear interpolation are a function of the LW scene type, the colatitude of the scanner target, and the season. The ERBE SW models are a function of the SW scene type and three angles: viewing zenith, solar zenith, and the relative azimuth between the Sun and the satellite. The ERBE SW normalization constants for tri-linear interpolation are a function of the SW scene type and the solar zenith angle. The CERES Inversion Working Group will generate and maintain the CADMs. The CADMs will be updated for Release 3, after analyzing the results from approximately 18 months of CERES processing using data from the CERES Rotating Azimuth Plane Scanner (RAPS) (see Reference 1). MOA
This product is described in the CERES Data Products Catalog (see Reference 9). PRE_SSF
The PRE_SSF is the intermediate SSF file which is generated by Subsystem 4.4. It has the same format and size as the archival SSF product which is described in the CERES Data Products Catalog (see Reference 9). B-1 SCCOEF
The Spectral Correction Coefficient File, SCCOEF, contains data which correct the radiometric measurements for the imperfect spectral response of the optical path in the CERES instrument. The spectral correction data consists of parameters and spectral correction coefficients which are used in calculating the SW, LW, and WN unfiltered radiance estimates from the SW, TOT, and WN scanner measurements. The spectral correction coefficient algorithm requires both daytime and nighttime coefficients. Up to nine of these coefficients must be selected for each CERES footprint based on spacecraft geometry, spectral correction scene type, and the availability of data from the three scanner channels. The daytime coefficients are a function of 12 CERES spectral correction scene types, four satellite viewing zenith bins, four solar zenith bins, five relative azimuth bins, and an index reflecting channel data availability. The nighttime coefficients are a function of 12 CERES spectral correction scene types, four viewing zenith bins, and an index reflecting channel data availability. The spectral correction coefficient data files are spacecraft platform dependent. SSF
Single Satellite CERES Footprint TOA and Surface Fluxes, SSF, is the archival product which is completed by Subsystems 4.5 and 4.6. It is described in the CERES Data Products Catalog (see Reference 9). TSFQC
TOA and Surface Flux Quality Control Report, TSFQC, contains the quality control reports produced by the CERES Inversion to Instantaneous TOA Fluxes and Empirical Estimates of Surface Radiation Budget, Subsystems 4.5 and 4.6. Information provided in these reports will include: Spacecraft and instrument identification Data date and temporal span Processing date and time of the CERES Inversion to Instantaneous TOA Fluxes and Empirical Estimates of Surface Radiation Budget, Subsystems 4.5 and 4.6 Software version number of the CERES Inversion to Instantaneous TOA Fluxes and Empirical Estimates of Surface Radiation Budget, Subsystems 4.5 and 4.6 Processing date and time of Determine Cloud Properties Subsystem Software version number of Determine Cloud Properties Subsystem B-2 Number of CERES footprints processed Diagnostic messages Scene ID data Statistical data for the following: Scene ID TOA Flux Surface Flux An example of a preliminary Quality Control (QC) Report for Subsystems 4.5 and 4.6 is included in this Appendix. B-3 CERES TOA AND SURFACE FLUXES QC REPORT PAGE: 1 DATE PROCESSED: TEMPORAL SPAN: SYSTEM RELEASE: SOFTWARE VERSION: CERES PRODUCT: SSF 02/29/1996 13:58:32 1986-10-01 HOUR - 05:00 1 1 SATELLITE: INSTRUMENT: CHANNEL: NOAA-9 ERBE ******************************************************** Total number of footprints processed = 32032 ******************************************************** Number of footprints ID-ed as unknown ADM type = 142 ******************************************************** Number of unprocessed footprints because all channel radiance data flagged bad = 441 ******************************************************** Number of footprints ID-ed as unknown geo type = 142 Number of footprints ID-ed as ocean = 22804 Number of footprints ID-ed as land = 7489 Number of footprints ID-ed as snow = 743 Number of footprints ID-ed as desert = 18 Number of footprints ID-ed as coast = 836 Number of footprints (COAST by Erika's alg) = 627 Number of footprints ID-ed as OVERCAST ADM type when underlying geo type is unknown = 0 ******************************************************** Number of footprints ID-ed as unknown clouds = 0 Number of footprints ID-ed as clear = 15846 Number of footprints ID-ed as partly cloudy = 8058 Number of footprints ID-ed as mostly cloudy = 6687 Number of footprints ID-ed as overcast = 1441 ******************************************************** SSF area fraction ocean = 0.709370 SSF area fraction mountains = 0.010913 SSF area fraction other land = 0.227439 SSF area fraction snow = 0.024232 SSF area fraction desert = 0.000594 SSF area fraction coast = 0.027452 ******************************************************** Figure B-1. CERES TOA and Surface Fluxes QC Report (1 of 2) B-4 Number of footprint ADM types ID-ed as UNKNOWN due to SW ADM value(RMAX) = 0 Number of SW TOA estimates rejected on minimum albedo = 0 Number of SW TOA estimates rejected on maximum albedo = 152 Number of LW TOA estimates rejected on minimum flux = 0 Number of LW TOA estimates rejected on maximum flux = 0 Number of TOA estimates rejected on maximum viewing zenith angle = 0 Number of bad SW channel filtered radiance measurements = 441 Number of bad WN channel filtered radiance measurements = 441 Number of bad TOT channel filtered radiance measurements = 441 Number of WN TOA estimates rejected on minimum flux = 0 Number of WN TOA estimates rejected on maximum flux = 0 ******************************************************** Number of SW TOA estimates rejected = 1308 Number of H2o values rejected = 0 Number of TOA albedo rejected = 0 Number of surface albedo estimates rejected = 52 Number of SW surface flux set to 0 for nighttime = 7958 ******************************************************** Number of valid LW surface flux NETA computed = 10352 Number of valid LW surface flux DNA computed = 10352 Number of LW surface flux NETA out of range = 0 Number of LW surface flux DNA out of range = 0 Number of LW model A: input out of range = 16633 Number of LW model A: no alg. for this surface = 5047 Number of LW model A: Other error = 0 ******************************************************** Number of LW surface flux B est. calc with uws = .5: 365 ******************************************************** Number of SW surface flux NETA est. set to default = 2851 Number of SW surface flux DNA est. set to default = 2931 Number of LW surface flux NETA est. set to default = 21680 Number of LW surface flux DNA est. set to default = 21680 Number of LW surface flux NETB est. set to default = 0 Number of LW surface flux DNB est. set to default = 0 ******************************************************** Figure B-1. CERES TOA and Surface Fluxes QC Report (2 of 2) B-5 APPENDIX C Data and Constants Appendix C - Data and Constants
Table C-1. F90 Module inv_data Constants (1 of 2)
NAME ALBEDO_MAX ALBEDO_MIN CLEAR COASTAL_SCN COASTAL_OFFSET COLAT_BIN_FAC DEL_CSUN_SPEC DEL_RAZ_SPEC DEL_VZEN_SPEC DEL_VZEN_ZONE DEL_CSUN_ZONE DESERT_AT_POLES LATZON_FAC MAP_RAZ MAP_VZEN DESCRIPTION maximum albedo limit for acceptable SW TOA flux minimum albedo limit for acceptable SW TOA flux index for 0% - 5% cloud cover spectral correction geo scene type -50/50 ocean/land mix scene type offset for land if scene type is coastal colatitude bin factor factor used to calculate cosine of solar zenith bin number factor used to calculate relative azimuth bin number factor used to calculate viewing zenith bin number factor used to calculate viewing zenith QC report bin number factor used to calculate cosine of solar zenith QC report bin number desert at the poles scene type flag latitude zone bin factor an array (12) used to map from equally spaced azimuth bins to unequally spaced azimuth bins an array (6) used to map from equally spaced spacecraft zenith bins to unequally spaced spacecraft zenith bins an array (8) used to determine the value of variable ncase an array (20) mapping geo-scene type and cloud cover to ERBE Inversion scene type scene type offset for 50% - 95% cloud cover flag which indicates that no error occurred index for overcast - 95% - 100% cloud cover scene type offset for overcast cloud cover index for 5% - 50% cloud cover 3 0 4 7 2 VALUE 1.0 .02 1 5 4 30.0001 .250001 15.00001 15.00001 3.00001 9.99999 -999 2.5 DATA TYPE Real Real Integer Integer Integer Real Real Real Real Real Real Integer Real Integer Integer MAP_NCASE MODEL MOSTLTY_CLOUDY NO_ERROR OVERCAST OVERCAST_OFFSET PARTLTY_CLOUDY Integer Integer Integer Integer Integer Integer Integer C-1 Table C-1. F90 Module inv_data Constants (2 of 2)
NAME REGION_SIZE RMAX SP_MODEL_NUM SZEN_MAX_TOA UNKNOWN DESCRIPTION size of colatitude regions maximum for bidirectional shortwave model value logic ID number for spectral correction model parameter maximum solar zenith angle for which SW measurements are to be inverted index for unknown scene type VALUE 10.0001 2.0 601 86.5 0 DATA TYPE Real Real Integer Real Integer C-2 APPENDIX D Error Messages Appendix D - Error Messages
Table D-1 contains error messages which may be generated by Subsystems 4.5 and 4.6. Table D-1. Error Messages
ERROR MESSAGE *** ERROR READING MOA IN REGION: xxxxxx *** ERROR reading LW CADM file *** ERROR scene id out of range (1-12) , iscene = xx *** ERROR colatitude out of range (0.-180.) , colat = xxxxx *** ERROR viewing zenith angle out of range (0.-90), vzen = xxxxxx *** ERROR relative azimuth angle out of range (0.-180.), raz = xxxxxx *** ERROR cosine of solar zenith out of range (0.-1.), csun = xxxxx *** END of FILE read on PRE-SSF file *** ERROR reading from PRE-SSF file '*** ERROR writing to SSF file *** Unable to obtain Spcor model number from PCfile *** ERROR opening PRE_SSF file *** ERROR opening SSF file *** ERROR in footprint xxxxx : iflg = xxxxx out of range' *** ERROR reading SCCOEF file *** INVALID IGEOCN - DESERT AT POLE, NGEO = xxx , LATZON= xxx , dayflg= xx *** COULD NOT OPEN FILE: xxx , IO STATUS ERROR = xxxxx *** COULD NOT READ SSF HEADER RECORD FOR FILE: xxxx *** EXPECTED TO READ HEADER RECORD FOR FILE: xxxxx *** RECORD = xxxxx IS ILLEGAL. WRITE IGNORED FROM SUBROUTINE OR MODULE access_anc CADM_mod CADM_mod CADM_mod CADM_mod CADM_mod CADM_mod invsurf_footprint invsurf_footprint invsurf_footprint invsurf_start invsurf_start invsurf_start invsurf_unpk_flg spcor_mod spcor_mod ssf_typdef ssf_typdef ssf_typdef ssf_typdef ssf_typdef ssf_typdef surf_sw_model_a *** IO STATUS = xxxxx ERROR WRITING SSF RECORD xxxxx *** UNABLE TO WRITE HEADER TO RECORD 1 OF SSF *** COSINE OF SOLAR ZENITH ANGLE IS NEGATIVE, CSUN = xxxxx D-1 APPENDIX E Structure Chart Symbols Appendix E - Structure Chart Symbols The following symbols are used in the structure and flow charts in Figure 2-1 and Figure 2-2: Figure E-1. Structure Chart Symbols A A - Connector for structure charts and flow diagrams - Used in structure charts and flow diagrams as a connector to on the same page A B-2 - Used in structure charts and flow diagrams as a connector to on page 2 of figure B E-1