Go to the documentation of this file.
18 static float fill = 0.0;
29 l1str *
l1rec = l2rec->l1rec;
31 for (ip = 0; ip <
l1rec->npix; ip++) {
33 ipb =
l1rec->l1file->nbands*ip;
35 rho1 =
l1rec->rhos[ipb + 0];
36 rho2 =
l1rec->rhos[ipb + 1];
37 rho4 =
l1rec->rhos[ipb + 3];
38 rho5 =
l1rec->rhos[ipb + 4];
39 rho6 =
l1rec->rhos[ipb + 5];
41 if (rho1 < 0.0 || rho6 > 0.4)
44 else if (rho2 < rho4 || rho5 < rho6)
48 smoke[ip] = rho1 * (rho2 - rho4) * (rho5 - rho6) * 10000.0;
void get_smoke(l2str *l2rec, float smoke[])