OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
VcstGeoRctnglStruct.h
Go to the documentation of this file.
1 /******************************************************************************
2  *
3  * NAME: VcstGeoRctnglStruct.h
4  *
5  * DESCRIPTION: Contains interpolation rectangle structure and decimated
6  * geolocation data structure as well as constants used in these.
7  *
8  *
9  ******************************************************************************/
10 #ifndef VCST_GEO_RCTNGL_STRUCT_H
11 #define VCST_GEO_RCTNGL_STRUCT_H
12 
13 #include <VcstGeoDataStructs.h>
14 #include <VcstGeoParameters.h>
15 #include <vector>
16 
17 
18 const int REC_ROWS = 3;
19 const int REC_COLS = REC_ROWS;
20 
21 // Geolocation data for the decimated interpolation rectangles.
22 // NOTE: The GEO field height is not in the Decimated Geo structure because
23 // it is set from the Terrain Info in the storeGranule() method for IMG data
24 // and copied directly into the DMS buffer in calcModFromImg() for MOD data.
25 
26 typedef struct {
36  //Add pixel phase and fraction.
37  //0.0 to 100, percentage of Moon illuminated
39  //In radians, 0.0=full to +pi=new
41  unsigned char qFlags[VIIRS_SCANS][VIIRSI_MAX_NRCTNGL][REC_ROWS][REC_COLS];
42  unsigned char rectQFlags[VIIRS_SCANS][VIIRSI_MAX_NRCTNGL];
44 
45 
46 #endif
47 
float * lat
const int REC_COLS
const int REC_ROWS
const int VIIRS_SCANS
Definition: VcstCmnConsts.h:58
float * lon
const int VIIRSI_MAX_NRCTNGL