Go to the documentation of this file.
27 no3 = 25.68 - 1.97 * sst + 0.04 * pow(sst, 2) - 1.63 * chl
28 + 0.012 * pow(chl, 2);
32 if (lat <= 30 && lat >= -18.333 && sst > 20 && chl > 0.24 && chl < 10) {
33 no3 = 345.41 - 23.4 * sst + 0.4 * pow(sst, 2) + 0.012 * chl
34 - pow(chl, 2) * 0.00048;
39 if (sst > 28 && chl >= 0.3 && chl <= 2) {
40 no3 = 90.12 - 6.02 * sst + 0.09 * pow(sst, 2) - .05 * chl;
45 if (sst < 2 && chl <= 2.2 && chl >= 0.1) {
46 no3 = 12.98 - 13.61 * sst - 4.16 * pow(sst, 2) - 4.97 * chl
47 + 0.267 * pow(chl, 2);
52 if (
lon >= 45 &&
lon <= 86.666 && lat <= 30 && lat >= 5) {
53 no3 = 119.14 - 8.38 * sst + 0.15 * pow(sst, 2) - .2 * chl;
76 l1str *
l1rec = l2rec->l1rec;
92 printf(
"get_nitrate.c can not produce product %s\n",
float * get_sst(l2str *l2rec)
void unix2yds(double usec, short *year, short *day, double *secs)
void get_nitrate(l2str *l2rec, l2prodstr *p, float prod[])
float calc_nitrate(float chl, float sst, float lat, float lon)