Go to the documentation of this file.
8 static int firstCall = 1;
12 static float b_ag412[] = {-2.784, -1.146, 1.008};
13 static float b_sg275[] = {-3.325, 0.3, -0.252};
14 static float b_sg300[] = {-3.679, 0.168, -0.134};
16 l1str *
l1rec = l2rec->l1rec;
19 float *wave =
l1rec->l1file->fwave;
21 float *
Rrs, Rrs1, Rrs2;
33 if (ib1 < 0 || ib2 < 0) {
34 printf(
"-E- %s line %d: required bands not available for Stramski POC\n",
51 printf(
"Error: %s : Unknown product specifier: %d\n", __FILE__, prodnum);
56 for (ip = 0; ip <
l1rec->npix; ip++) {
64 if (Rrs1 > 0.0 && Rrs2 > 0.0) {
71 prod[ip] = exp(
b[0] +
b[1] * x1 +
b[2] * x2);
#define CAT_Sg_300_600_mlrc
int bindex_get(int32_t wave)
#define CAT_Sg_275_295_mlrc
void cdom_mannino(l2str *l2rec, int prodnum, float prod[])
float conv_rrs_to_555(float Rrs, float wave)