A sphere with three ocean waves in differing shades of blue. Next to the sphere, there is the bolded text "Ocean Color". Under that, there are two acronyms, separated by a vertical pipe: OB.DAAC (Ocean Biology Distributed Active Archive Center) and OBPG (Ocean Biology Processing Group).
Lorem
ipsum
dolor
sit
amet
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
*
brdf
;
//bi-direction reflectance function
32
float
*
Rrs
;
//Remote sensing reflectance
33
float
*
Rrs_unc
;
34
float
*
chi2
;
//chi square from the spectral match in mbac
35
float
*
chl_unc
;
36
float
*
covariance_matrix
;
// covariance matrix for Rrs
37
float
*
outband_correction
;
//square bandpass correction for Rrs
38
float
*
a
;
//absoprtion coefficient
39
float
*
bb
;
//backscattering coefficient
40
41
// allocated or set later
42
int32_t *
bindx
;
43
float
*
sst
;
44
float
*
Rrs_raman
;
45
tgstr *
tgrec
;
46
47
} l2str;
48
49
#endif
l2_struct::length
int32_t length
Definition:
l2_struc.h:10
l2_struct::bindx
int32_t * bindx
Definition:
l2_struc.h:42
l2_struct::a
float * a
Definition:
l2_struc.h:38
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:31
l2_struct::tgrec
tgstr * tgrec
Definition:
l2_struc.h:45
l2_struct::Rrs_raman
float * Rrs_raman
Definition:
l2_struc.h:44
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::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:39
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:37
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::chi2
float * chi2
Definition:
l2_struc.h:34
l2_struct::aerindex
float * aerindex
Definition:
l2_struc.h:24
l2_struct::taua
float * taua
Definition:
l2_struc.h:27
l2_struct::covariance_matrix
float * covariance_matrix
Definition:
l2_struc.h:36
l2_struct::chl_unc
float * chl_unc
Definition:
l2_struc.h:35
l2_struct::Rrs
float * Rrs
Definition:
l2_struc.h:32
target_struc.h
l2_struct::aermodmin
int32_t * aermodmin
Definition:
l2_struc.h:15
l2_struct::sst
float * sst
Definition:
l2_struc.h:43
l2_struct::Rrs_unc
float * Rrs_unc
Definition:
l2_struc.h:33
l2_struct::eps
float * eps
Definition:
l2_struc.h:21