OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
l2_struc.h
Go to the documentation of this file.
1 #ifndef _L2_STRUC_H
2 #define _L2_STRUC_H
3 
4 #include "input_struc.h"
5 #include "target_struc.h"
6 #include <l1.h>
7 
8 typedef struct l2_struct {
9  l1str *l1rec;
10  int32_t length;
11  char *data;
12 
13  // var[npix]
14  int32_t *num_iter;
15  int32_t *aermodmin;
16  int32_t *aermodmax;
17  int32_t *aermodmin2;
18  int32_t *aermodmax2;
19 
20  float *chl;
21  float *eps; // NIR aerosol reflectance ratio (single scattering)
22  float *aerratio;
23  float *aerratio2;
24  float *aerindex;
25 
26  // var[npix*nbands]
27  float *taua; // aerosol optical thickness
28  float *La; // aerosol radiance1
29  float *Lw; // water-leaving radiance
30  float *nLw; // normalized water-leaving radiance
31  float *nLw_unc;
32  float *brdf; //bi-direction reflectance function
33  float *Rrs; //Remote sensing reflectance
34  float *Rrs_unc;
35  float *outband_correction; //square bandpass correction for Rrs
36  float *a; //absoprtion coefficient
37  float *bb; //backscattering coefficient
38 
39  // allocated or set later
40  int32_t *bindx;
41  float *sst;
42  float *Rrs_raman;
43  tgstr *tgrec;
44 
45 } l2str;
46 
47 #endif
int32_t length
Definition: l2_struc.h:10
int32_t * bindx
Definition: l2_struc.h:40
float * a
Definition: l2_struc.h:36
int32_t * aermodmax
Definition: l2_struc.h:16
float * aerratio2
Definition: l2_struc.h:23
float * brdf
Definition: l2_struc.h:32
tgstr * tgrec
Definition: l2_struc.h:43
float * Rrs_raman
Definition: l2_struc.h:42
int32_t * num_iter
Definition: l2_struc.h:14
float * La
Definition: l2_struc.h:28
float * nLw_unc
Definition: l2_struc.h:31
char * data
Definition: l2_struc.h:11
int32_t * aermodmax2
Definition: l2_struc.h:18
float * nLw
Definition: l2_struc.h:30
float * Lw
Definition: l2_struc.h:29
float * bb
Definition: l2_struc.h:37
float * aerratio
Definition: l2_struc.h:22
float * chl
Definition: l2_struc.h:20
float * outband_correction
Definition: l2_struc.h:35
l1str * l1rec
Definition: l2_struc.h:9
int32_t * aermodmin2
Definition: l2_struc.h:17
float * aerindex
Definition: l2_struc.h:24
float * taua
Definition: l2_struc.h:27
float * Rrs
Definition: l2_struc.h:33
int32_t * aermodmin
Definition: l2_struc.h:15
float * sst
Definition: l2_struc.h:41
float * Rrs_unc
Definition: l2_struc.h:34
float * eps
Definition: l2_struc.h:21