Defines |
| #define | N_PRM_HEADERS 35 /* leading comment lines in PARAM_FILE */ |
| #define | NX 32 /* elements minus one in aph675 array. */ |
| #define | N_ITER 5 /* iterations in bisection loop. 2^(N_ITER) = NX */ |
| #define | APH_MIN 0.0001 /* minimum aph675 value */ |
| #define | CARDER_FAIL -1 /* value of products returned if failure */ |
| #define | CFLAG_FAIL 0x0001 /* failure (bad inputs) */ |
| #define | CFLAG_DEFAULT 0x0002 /* using default (empirical) algorithm*/ |
| #define | CFLAG_BLEND 0x0004 /* blending with default algorithm */ |
| #define | CFLAG_UNPKG 0x0010 /* unpackaged case */ |
| #define | CFLAG_PKG 0x0020 /* packaged case */ |
| #define | CFLAG_HIPKG 0x0040 /* highly packaged case */ |
| #define | CFLAG_GLOBAL 0x0080 /* global case */ |
| #define | CFLAG_LO412 0x0100 /* low input 412 reflectance */ |
| #define | CFLAG_LO555 0x0200 /* low input 55x reflectance */ |
| #define | CFLAG_CHLINC 0x0400 /* large inconsistency with default */ |
| #define | NDTNX 2048 |
| #define | NDTNY 1024 |
Functions |
| int | carder_model (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[]) |