#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "l12_proto.h"
Go to the source code of this file.
|
int | carder_model (int32_t nbands, double *rrs, double *rrswl, float sst, float ndt, double *atot, double *aph, double *adg, double *bb, double *bbp, double *aphmPtr, double *adgmPtr, double *chlPtr, int16 *flags) |
|
void | alloc_carder (int32_t npix, int32_t nbands) |
|
int | carder_ran (int recnum) |
|
void | carder (l2str *l2rec) |
|
int16 * | get_flags_carder (l2str *l2rec) |
|
void | get_carder (l2str *l2rec, l2prodstr *p, float prod[]) |
|
void | iops_carder (l2str *l2rec) |
|
int | carder_empirical (float *rrs, float sst, float ndt, float *chlPtr) |
|
void | chl_carder_empirical (l2str *l2rec, float prod[]) |
|
◆ APH_MIN
#define APH_MIN 0.0001 /* minimum aph675 value */ |
◆ CARDER_FAIL
◆ CFLAG_BLEND
#define CFLAG_BLEND 0x0004 /* blending with default algorithm */ |
◆ CFLAG_CHLINC
#define CFLAG_CHLINC 0x0400 /* large inconsistency with default */ |
◆ CFLAG_DEFAULT
#define CFLAG_DEFAULT 0x0002 /* using default (empirical) algorithm*/ |
◆ CFLAG_FAIL
#define CFLAG_FAIL 0x0001 /* failure (bad inputs) */ |
◆ CFLAG_GLOBAL
#define CFLAG_GLOBAL 0x0080 /* global case */ |
◆ CFLAG_HIPKG
#define CFLAG_HIPKG 0x0040 /* highly packaged case */ |
◆ CFLAG_LO412
#define CFLAG_LO412 0x0100 /* low input 412 reflectance */ |
◆ CFLAG_LO555
#define CFLAG_LO555 0x0200 /* low input 55x reflectance */ |
◆ CFLAG_PKG
#define CFLAG_PKG 0x0020 /* packaged case */ |
◆ CFLAG_UNPKG
#define CFLAG_UNPKG 0x0010 /* unpackaged case */ |
◆ N_ITER
#define N_ITER 5 /* iterations in bisection loop. 2^(N_ITER) = NX */ |
◆ N_PRM_HEADERS
#define N_PRM_HEADERS 35 /* leading comment lines in PARAM_FILE */ |
◆ NDTNX
◆ NDTNY
◆ NX
#define NX 32 /* elements minus one in aph675 array. */ |
◆ alloc_carder()
void alloc_carder |
( |
int32_t |
npix, |
|
|
int32_t |
nbands |
|
) |
| |
◆ carder()
void carder |
( |
l2str * |
l2rec | ) |
|
◆ carder_empirical()
int carder_empirical |
( |
float * |
rrs, |
|
|
float |
sst, |
|
|
float |
ndt, |
|
|
float * |
chlPtr |
|
) |
| |
◆ carder_model()
int carder_model |
( |
int32_t |
nbands, |
|
|
double * |
rrs, |
|
|
double * |
rrswl, |
|
|
float |
sst, |
|
|
float |
ndt, |
|
|
double * |
atot, |
|
|
double * |
aph, |
|
|
double * |
adg, |
|
|
double * |
bb, |
|
|
double * |
bbp, |
|
|
double * |
aphmPtr, |
|
|
double * |
adgmPtr, |
|
|
double * |
chlPtr, |
|
|
int16 * |
flags |
|
) |
| |
◆ carder_ran()
int carder_ran |
( |
int |
recnum | ) |
|
◆ chl_carder_empirical()
void chl_carder_empirical |
( |
l2str * |
l2rec, |
|
|
float |
prod[] |
|
) |
| |
◆ get_carder()
void get_carder |
( |
l2str * |
l2rec, |
|
|
l2prodstr * |
p, |
|
|
float |
prod[] |
|
) |
| |
◆ get_flags_carder()
int16* get_flags_carder |
( |
l2str * |
l2rec | ) |
|
◆ iops_carder()
void iops_carder |
( |
l2str * |
l2rec | ) |
|