Go to the documentation of this file.
6 static float minval = 0.0;
7 static float maxval = 10.0 * 1000;
10 static int firstCall = 1;
11 static float a = 203.2;
12 static float b = -1.034;
27 if (ib1 < 0 || ib2 < 0) {
28 printf(
"-E- %s line %d: required bands not available for Stramski POC\n",
37 if (Rrs1 >= 0.0 && Rrs2 > 0.0) {
39 poc =
a * pow(Rrs1 / Rrs2,
b);
46 static int firstCall = 1;
47 static float a = 308.3;
48 static float b = -1.639;
63 if (ib1 < 0 || ib2 < 0) {
64 printf(
"-E- %s line %d: required bands not available for Stramski POC\n",
73 if (Rrs1 >= 0.0 && Rrs2 > 0.0) {
75 poc =
a * pow(Rrs1 / Rrs2,
b);
81 void get_poc(l2str *l2rec,
int prodnum,
float prod[]) {
83 l1str *
l1rec = l2rec->l1rec;
86 for (ip = 0; ip <
l1rec->npix; ip++) {
101 printf(
"Error: %s : Unknown product specifier: %d\n", __FILE__, prodnum);
106 if (prod[ip] == badval)
108 else if (prod[ip] < minval || prod[ip] > maxval)
#define CAT_poc_stramski_490
void get_poc(l2str *l2rec, int prodnum, float prod[])
int bindex_get(int32_t wave)
float poc_stramski_443(float *Rrs, float *wave)
float poc_stramski_490(float *Rrs, float *wave)
#define CAT_poc_stramski_443
PGE01 indicating that PGE02 PGE01 V6 for and PGE01 V2 for MOD03 were used to produce the granule By convention adopted in all MODIS Terra PGE02 code versions are The fourth digit of the PGE02 version denotes the LUT version used to produce the granule The source of the metadata environment variable ProcessingCenter was changed from a QA LUT value to the Process Configuration A sign used in error in the second order term was changed to a
float conv_rrs_to_555(float Rrs, float wave)