OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
L1a_data.h
Go to the documentation of this file.
1 /* file: L1a_data.h */
2 
3 /*
4 !C-INC*************************************************************************
5 !Description: Defines the information needed by the geolocation software
6  to read the Level 1A product.
7 
8 !Input Parameters: N/A
9 
10 !Output Parameters: N/A
11 
12 !Revision History:
13  $Log: L1a_data.h,v $
14  Revision 6.2 2010/06/30 20:18:00 kuyper
15  Backed out a change that relied upon M-API 6.0.0, which is not quite ready.
16 
17  Revision 6.1 2010/05/04 19:29:49 kuyper
18  Added MAJCYCALL1 and SS_CP_MODE.
19 
20  Revision 5.1 2005/03/16 21:36:28 kuyper
21  Changed header guard macro name to avoid reserved name space.
22 
23  Revision 4.2 2003/12/17 21:06:37 kuyper
24  Removed obsolete macro.
25 
26  Revision 4.1 2003/04/24 19:28:40 kuyper
27  Removed obsolete ESDT macros.
28 
29  Revision 2.12 2001/04/02 16:43:25 seaton
30  Added macros for GEO_prepare_l1a_data.c
31 
32  * Revision 2.11 2001/03/31 15:40:34 seaton
33  * Entered macros used by GEO_read_L1Apacket_data.c.
34  *
35  * Revision 2.10 2001/01/17 13:45:29 vlin
36  * Added "PRODUCTIONHISTORY" macro
37  *
38  * Revision 2.9 2000/08/18 00:45:54 kuyper
39  * Changed to support Aqua as well at Terra data.
40  *
41  * Revision 2.8 2000/08/14 20:18:24 fhliang
42  * Added macro CORE_ASSOCIATEDPLATFORMSHORTNAME.
43  *
44  * Revision 2.7 2000/06/13 18:01:05 lma
45  * changed definaition of macro SCAN_TYPES to M01SCAN_TYPE
46  *
47  * Revision 2.6 2000/06/09 18:52:58 lma
48  * changed definaition of macro SCAN_TYPES to M02SW_SCAN_TYPE.
49  *
50  * Revision 2.5 2000/05/04 15:38:00 lma
51  * added macro SCAN_TYPES
52  *
53  * Revision 2.4 1999/03/12 17:48:37 kuyper
54  * Capitalized Prolog Sections
55  *
56  * Revision 2.3 1999/02/05 17:59:04 seaton
57  * Added M-API #defines for the Spacecraft Ancillary Data fields
58  * used in GEO_read_L1Apacket_data.c.
59  *
60  * Revision 2.2 1998/03/04 03:34:17 jjb
61  * Added L1A ESDT macro.
62  *
63  * Revision 2.1 1997/10/21 18:15:47 kuyper
64  * Returned from ClearCase
65  *
66  * Revision 1.6 1997/07/18 21:58:00 kuyper
67  * Baselined Version 1
68  *
69  * Revision 1.6 1997/03/26 19:12:34 fhliang
70  * Initial revision of SDST delivery of L1a_data.h.
71  *
72  Revision 1.5 1997/01/14 21:17:19 kuyper
73  Added macros neede by GEO_read_L1A*data() functions.
74 
75  James Kuyper (kuyper@ltpmail.gsfc.nasa.gov)
76 
77  6/20/95
78  Frederick S. Patt (patt@modis-xl.gsfc.nasa.gov)
79  Finished coding
80 
81  9/20/95
82  Frederick S. Patt (patt@modis-xl.gsfc.nasa.gov)
83  Modified to update Level 1A field names
84 
85  10/31/95
86  Frederick S. Patt (patt@modis-xl.gsfc.nasa.gov)
87  Modified to update Level 1A field names
88 
89 
90 !Team-unique Header:
91  This software is developed by the MODIS Science Data Support
92  Team for the National Aeronautics and Space Administration,
93  Goddard Space Flight Center, under contract NAS5-32373.
94 
95 !END**************************************************************************
96 */
97 
98 #ifndef L1A_DATA_H
99 #define L1A_DATA_H
100 #include "mapiL1A.h"
101 
102 /* Define the group names for the Level 1A data */
103 
104 #define L1A_SCAN_META_GRP ""
105 #define L1A_ENGINEERING_GRP ""
106 
107 /* Define the SDS names for the Level 1A data */
108 
109 # define DISCARD_PACKETS M01DISCARD_PACKETS
110 # define SCAN_START_TIME M01EV_START_TIME
111 # define SCAN_TYPES M01SCAN_TYPE
112 # define EARTH_SECTOR_FRAMES M01FRAME_COUNT_ARRAY
113 # define INCOMPL_SCANS M01INCOMPL_SCANS
114 # define MAX_EARTH_FRAMES M01MAX_EARTH_FRAMES
115 # define MAX_SD_FRAMES M01MAX_SD_FRAMES
116 # define MAX_SV_FRAMES M01MAX_SV_FRAMES
117 # define MIRROR_SIDE M01MIRROR_SIDE
118 # define MISSING_PACKETS M01MISSING_PACKETS
119 # define NUMBER_OF_SCANS M01NUMBER_OF_SCANS
120 # define PACKTS_BAD_CRC M01PACKTS_BAD_CRC
121 # define EARTH_ENCODER_TIMES M01RAW_MIR_ENC
122 # define SC_ANCILLARY_DATA M01RAW_SC_ANCIL
123 # define VIEW_SECTOR_START M01RAW_VS_START
124 # define SCAN_NUMBER M01SCAN_NUMBER
125 # define SCAN_QUALITY_ARRAY M01SCAN_QUALITY_ARRAY
126 # define SD_START_TIME M01SD_START_TIME
127 # define SV_START_TIME M01SV_START_TIME
128 # define SCIENCE_STATE M01SCIENCE_STATE
129 # define SCIENCE_ABNORM M01SCIENCE_ABNORM
130 # define CORE_RANGE_BEG_DATE MCORE_RANGE_BEG_DATE
131 # define CORE_RANGE_BEG_TIME MCORE_RANGE_BEG_TIME
132 # define CORE_RANGE_ENDING_DATE MCORE_RANGE_ENDING_DATE
133 # define CORE_RANGE_ENDING_TIME MCORE_RANGE_ENDING_TIME
134 # define CORE_DAYNIGHTFLAG MCORE_DAYNIGHTFLAG
135 # define CORE_LOCALGRANULEID MCORE_LOCALGRANULEID
136 # define CORE_PARAMETERVALUE MCORE_PARAMETERVALUE
137 # define CORE_ASSOCIATEDPLATFORMSHORTNAME MCORE_APSHORTNAME
138 # define MECS_PRODHISTORY "PRODUCTIONHISTORY"
139 
140 /* Define the S/C Ancillary Data names for level 1A Data */
141 #define TIME_STAMP M01TIME_STAMP
142 #define SC_POSITION_X M01SC_POSITION_X
143 #define SC_POSITION_Y M01SC_POSITION_Y
144 #define SC_POSITION_Z M01SC_POSITION_Z
145 #define SC_VELOCITY_X M01SC_VELOCITY_X
146 #define SC_VELOCITY_Y M01SC_VELOCITY_Y
147 #define SC_VELOCITY_Z M01SC_VELOCITY_Z
148 #define ATTITUDE_ANGLE_ROLL M01ATTITUDE_ANGLE_ROLL
149 #define ATTITUDE_ANGLE_PITCH M01ATTITUDE_ANGLE_PITCH
150 #define ATTITUDE_ANGLE_YAW M01ATTITUDE_ANGLE_YAW
151 #define ATTITUDE_RATE_ROLL M01ATTITUDE_RATE_ROLL
152 #define ATTITUDE_RATE_PITCH M01ATTITUDE_RATE_PITCH
153 #define ATTITUDE_RATE_YAW M01ATTITUDE_RATE_YAW
154 #define PRIOR_SC_ANCIL_DATA M01PRIOR_SC_ANCIL_DATA
155 #define CURR_SC_ANCIL_DATA M01CURR_SC_ANCIL_DATA
156 #define CR_FR_A_ON M01CR_FR_A_ON
157 #define CR_FR_B_ON M01CR_FR_B_ON
158 #define CR_SA_A_SCAN_ON M01CR_SA_A_SCAN_ON
159 #define CR_SA_B_SCAN_ON M01CR_SA_B_SCAN_ON
160 #define LAST_VALID_SCAN M01LAST_VALID_SCAN
161 #define MAJCYCALL1 M01MAJCYCALL1
162 #define MAJCYC3COF7 M01MAJCYC3COF7
163 #define MAJCYC5BOF7 M01MAJCYC5BOF7
164 #define SS_CP_MODE M01SS_CP_MODE
165 #endif
166