OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
cf.h
Go to the documentation of this file.
1 #ifndef CF_H
2 #define CF_H
3 
4 #define MAXBANDS 8
5 #define LRANGE 14
6 #define RRANGE 12
7 #define GAC_LRANGE 3
8 #define GAC_RRANGE 3
9 
10 static const float K[MAXBANDS][LRANGE + LRANGE + 1] = {
11  /* Band 1 */
12  { 0.00000, 0.00000,
13  0.00000, 0.00000, 0.00000, 0.00000, 0.00004, 0.00010, 0.00030, 0.00080,
14  0.00240, 0.00639, 0.01757, 0.13172, 0.73254, 0.06387, 0.01998, 0.01038,
15  0.00350, 0.00300, 0.00230, 0.00200, 0.00140, 0.00110, 0.00050, 0.00013,
16  0.00000, 0.00000, 0.00000},
17 
18  /* Band 2 */
19  { 0.00000, 0.00000,
20  0.00005, 0.00014, 0.00029, 0.00048, 0.00071, 0.00086, 0.00105, 0.00124,
21  0.00141, 0.00494, 0.01271, 0.09747, 0.83142, -0.00424, 0.03237, 0.01271,
22  0.00419, 0.00141, 0.00052, 0.00019, 0.00007, 0.00002, 0.00000, 0.00000,
23  0.00000, 0.00000, 0.00000},
24 
25  /* Band 3 */
26  { 0.00000, 0.00000,
27  0.00000, 0.00000, 0.00000, 0.00000, 0.00004, 0.00010, 0.00025, 0.00073,
28  0.00195, 0.00534, 0.01531, 0.21432, 0.73217, -0.00267, 0.01956, 0.00607,
29  0.00176, 0.00146, 0.00108, 0.00083, 0.00065, 0.00049, 0.00031, 0.00020,
30  0.00007, 0.00000, 0.00000},
31 
32  /* Band 4 */
33  { 0.00000, 0.00000,
34  0.00006, 0.00020, 0.00034, 0.00052, 0.00070, 0.00078, 0.00090, 0.00104,
35  0.00157, 0.00444, 0.01044, 0.10994, 0.86085, -0.00104, -0.00418, 0.00914,
36  0.00301, 0.00090, 0.00026, 0.00008, 0.00003, 0.00000, 0.00000, 0.00000,
37  0.00000, 0.00000, 0.00000},
38 
39  /* Band 5 */
40  { 0.00000, 0.00000,
41  0.00000, 0.00000, 0.00000, 0.00000, 0.00002, 0.00005, 0.00015, 0.00045,
42  0.00135, 0.00343, 0.00925, 0.06548, 0.67127, 0.23406, 0.00737, 0.00298,
43  0.00150, 0.00059, 0.00052, 0.00045, 0.00035, 0.00030, 0.00022, 0.00015,
44  0.00007, 0.00000, 0.00000},
45 
46  /* Band 6 */
47  { 0.00000, 0.00000,
48  0.00005, 0.00016, 0.00027, 0.00048, 0.00076, 0.00098, 0.00129, 0.00140,
49  0.00168, 0.00292, 0.00599, 0.05577, 0.70802, 0.19771, 0.01381, 0.00550,
50  0.00194, 0.00081, 0.00030, 0.00011, 0.00004, 0.00002, 0.00000, 0.00000,
51  0.00000, 0.00000, 0.00000},
52 
53  /* Band 7 */
54  { 0.00000, 0.00000,
55  0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00003, 0.00010, 0.00031,
56  0.00096, 0.00232, 0.00758, 0.18735, 0.67749, 0.09616, 0.01971, 0.00372,
57  0.00133, 0.00079, 0.00061, 0.00044, 0.00031, 0.00028, 0.00021, 0.00014,
58  0.00010, 0.00007, 0.00003},
59 
60  /* Band 8 */
61  { 0.00000, 0.00000,
62  0.00003, 0.00010, 0.00016, 0.00026, 0.00039, 0.00048, 0.00064, 0.00086,
63  0.00118, 0.00239, 0.00710, 0.23668, 0.66297, 0.05512, 0.01586, 0.00796,
64  0.00382, 0.00191, 0.00089, 0.00048, 0.00029, 0.00016, 0.00010, 0.00010,
65  0.00006, 0.00003, 0.00000}
66 };
67 
68 /* GAC pixels before bright source
69  0's in 1st column are ignored */
70 
71 /* 28 Jan 2002, W. Robinson, SAIC, add pre-launch vol 31 corrections
72  for column 2 */
73 
74 static const float CF_left[MAXBANDS][GAC_LRANGE] = {
75  { 0, -0.00079, -0.00000}, /* Band 1 */
76  { 0, -0.00363, -0.00060}, /* Band 2 */
77  { 0, -0.00069, -0.00000}, /* Band 3 */
78  { 0, -0.00322, -0.00074}, /* Band 4 */
79  { 0, -0.00028, -0.00000}, /* Band 5 */
80  { 0, -0.00359, -0.00055}, /* Band 6 */
81  { 0, -0.00027, -0.00000}, /* Band 7 */
82  { 0, -0.00201, -0.00037} /* Band 8 */
83 };
84 
85 /* GAC pixels after bright source
86  0's in 1st column are ignored */
87 
88 static const float CF_right[MAXBANDS][GAC_RRANGE] = {
89  { 0, -0.00733, -0.00090}, /* Band 1 */
90  { 0, -0.00110, -0.00001}, /* Band 2 */
91  { 0, -0.00303, -0.00055}, /* Band 3 */
92  { 0, -0.00043, -0.00000}, /* Band 4 */
93  { 0, -0.00194, -0.00053}, /* Band 5 */
94  { 0, -0.00061, -0.00000}, /* Band 6 */
95  { 0, -0.00199, -0.00055}, /* Band 7 */
96  { 0, -0.00233, -0.00033} /* Band 8 */
97 };
98 
99 #endif /* CF_H */
100 
#define LRANGE
Definition: cf.h:5
#define GAC_RRANGE
Definition: cf.h:8
#define MAXBANDS
Definition: cf.h:4
CGAL::Exact_predicates_inexact_constructions_kernel K
Definition: cgal_interp.cpp:12
#define GAC_LRANGE
Definition: cf.h:7