NASA Logo
Ocean Color Science Software

ocssw V2022
l1_misr.h
Go to the documentation of this file.
1 #ifndef L1_MISR_H
2 #define L1_MISR_H
3 
4 #define N_CAMERAS 9
5 
6 #define D2R 0.017453292520
7 
8 typedef struct misr_struct {
9  uint8_t multipleInput;
10 
11  int32_t startBlock;
12  int32_t endBlock;
13 
14  int32_t fileID[N_CAMERAS];
16 
17  int32_t ocean_block_numbers[180];
18  int8_t isOceanBlock[180];
19  int8_t offset[180];
20 
21  double radScaleFactors[4];
22 
23  double SolAzimuth[180*8][32];
24  double SolZenith[180*8][32];
25 
26  double SenAzimuth[N_CAMERAS][180*8][32];
27  double SenZenith[N_CAMERAS][180*8][32];
28 } misr_t;
29 
30 int openl1_misr(filehandle *l1file);
31 int readl1_misr(filehandle *l1file, l1str *l1rec);
32 int closel1_misr(filehandle *l1file);
33 
34 #endif
int32 l1file(int32 sdfid, int32 *nsamp, int32 *nscans, int16 *dtynum)
Definition: l1stat_chk.c:586
double radScaleFactors[4]
Definition: l1_misr.h:21
int32_t endBlock
Definition: l1_misr.h:12
read l1rec
int closel1_misr(filehandle *l1file)
Definition: l1_misr.c:901
#define N_CAMERAS
Definition: l1_misr.h:4
int8_t offset[180]
Definition: l1_misr.h:19
int8_t isOceanBlock[180]
Definition: l1_misr.h:18
int readl1_misr(filehandle *l1file, l1str *l1rec)
Definition: l1_misr.c:339
int32_t fileID[N_CAMERAS]
Definition: l1_misr.h:14
int32_t ocean_block_numbers[180]
Definition: l1_misr.h:17
int32_t blockTimeID[N_CAMERAS]
Definition: l1_misr.h:15
double SolZenith[180 *8][32]
Definition: l1_misr.h:24
uint8_t multipleInput
Definition: l1_misr.h:9
int32_t startBlock
Definition: l1_misr.h:11
double SolAzimuth[180 *8][32]
Definition: l1_misr.h:23
double SenAzimuth[N_CAMERAS][180 *8][32]
Definition: l1_misr.h:26
int openl1_misr(filehandle *l1file)
Definition: l1_misr.c:39
double SenZenith[N_CAMERAS][180 *8][32]
Definition: l1_misr.h:27