OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
l12_parms.h
Go to the documentation of this file.
1 
2 #ifndef _L12_PARMS_H
3 #define _L12_PARMS_H
4 
5 #include <sensorDefs.h>
6 #include <l1.h>
7 
8 #define PROGRAM "l2gen"
9 
10 /* #define NBANDS 16 */
11 #define NQMIN 3
12 #define NQMAX 500
13 #define FILTMAX 200
14 #define MAX_OFILES 10
15 #define MAX_IFILES 1024
16 #define NSSTFLAGS 16
17 #define NGIOPFLAGS 16
18 #define NINPRODS 3
19 #define NQSSTFLAGS 5
20 
21 #define MAXAERMOD 100
22 #define AERWHITE 0
23 #define AERWANG -1
24 #define AERRHNIR -2
25 #define AERWANGNIR -3
26 #define FIXMODPAIR -4
27 #define FIXMODPAIRNIR -5
28 #define FIXANGSTROM -6
29 #define FIXANGSTROMNIR -7
30 #define FIXAOT -8
31 #define AERWANGSWIR -9
32 #define AERMUMM -10
33 #define AERRHSWIR -14
34 #define AERRH -15
35 #define AERRHMUMM -16
36 #define AERRHMSEPS -17
37 #define AERRHSM -18
38 #define AERRHMSEPS_lin -19
39 #define AERNULL -99
40 
41 #define DEFAULT_CHL 0
42 #define CHL_MIN 0.00
43 #define CHL_MAX 100.0
44 #define AOT_MIN 0.00
45 #define AOT_MAX 1.0
46 
47 #define DEM_WIDTH 43200
48 #define DEM_HEIGHT 21600
49 
50 #define NOBRDF 0 /* brdf */
51 #define FRESNSEN 1 /* bit 1 */
52 #define FRESNSOL 2 /* bit 2 */
53 #define FOQMOREL 4 /* bit 3 */
54 #define DTBRDF 8 /* bit 4 */
55 #define QMOREL 16 /* bit 5 */
56 
57 #define O3_BIT 1
58 #define CO2_BIT 2
59 #define NO2_BIT 4
60 #define H2O_BIT 8
61 #define ATREM_BIT 16
62 #define GAS_TRANS_TBL_BIT 32
63 #define CO_BIT 64
64 #define CH4_BIT 128
65 #define N2O_BIT 256
66 
67 #define IOPNONE 0
68 #define IOPCARDER 1
69 #define IOPGSM 2
70 #define IOPQAA 3
71 #define IOPPML 4
72 #define IOPNIWA 5
73 #define IOPLAS 6
74 #define IOPGIOP 7
75 #define IOPSWIM 8
76 #define IOPDEFAULT IOPQAA
77 
78 #define QAABLEND 0
79 #define QAA555 1
80 #define QAA640 2
81 
82 #define NOMATCH_ERROR 110
83 #define FILESIZE_ERROR 111
84 
85 #define STDPR 1013.25
86 
87 #define DAYSCENE 0
88 #define NIGHTSCENE 1
89 #define DAYANDNIGHT 2
90 #define UNKNOWNSCENE 3
91 
92 #define SWN 0
93 #define SWA 1
94 #define SWBB 2
95 
96 #endif