Toggle navigation
Ocean Color Science Software
Jump to content
ocssw
V2022
web
ocssw
ocssw_src
src
l2gen
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
l2_struct::length
int32_t length
Definition:
l2_struc.h:10
l2_struct::bindx
int32_t * bindx
Definition:
l2_struc.h:40
l2_struct::a
float * a
Definition:
l2_struc.h:36
l2_struct::aermodmax
int32_t * aermodmax
Definition:
l2_struc.h:16
l2_struct::aerratio2
float * aerratio2
Definition:
l2_struc.h:23
l2_struct::brdf
float * brdf
Definition:
l2_struc.h:32
l2_struct::tgrec
tgstr * tgrec
Definition:
l2_struc.h:43
l2_struct::Rrs_raman
float * Rrs_raman
Definition:
l2_struc.h:42
l2_struct::num_iter
int32_t * num_iter
Definition:
l2_struc.h:14
l2_struct::La
float * La
Definition:
l2_struc.h:28
l2_struct::nLw_unc
float * nLw_unc
Definition:
l2_struc.h:31
l2_struct::data
char * data
Definition:
l2_struc.h:11
l2_struct::aermodmax2
int32_t * aermodmax2
Definition:
l2_struc.h:18
l2_struct::nLw
float * nLw
Definition:
l2_struc.h:30
l2_struct
Definition:
l2_struc.h:8
l2_struct::Lw
float * Lw
Definition:
l2_struc.h:29
l2_struct::bb
float * bb
Definition:
l2_struc.h:37
l2_struct::aerratio
float * aerratio
Definition:
l2_struc.h:22
l2_struct::chl
float * chl
Definition:
l2_struc.h:20
l2_struct::outband_correction
float * outband_correction
Definition:
l2_struc.h:35
l1.h
l2_struct::l1rec
l1str * l1rec
Definition:
l2_struc.h:9
input_struc.h
l2_struct::aermodmin2
int32_t * aermodmin2
Definition:
l2_struc.h:17
l2_struct::aerindex
float * aerindex
Definition:
l2_struc.h:24
l2_struct::taua
float * taua
Definition:
l2_struc.h:27
l2_struct::Rrs
float * Rrs
Definition:
l2_struc.h:33
target_struc.h
l2_struct::aermodmin
int32_t * aermodmin
Definition:
l2_struc.h:15
l2_struct::sst
float * sst
Definition:
l2_struc.h:41
l2_struct::Rrs_unc
float * Rrs_unc
Definition:
l2_struc.h:34
l2_struct::eps
float * eps
Definition:
l2_struc.h:21