ocssw  1.0
/disk01/web/ocssw/build/src/l2gen/l12_parms.h (r8218/r8029)
Go to the documentation of this file.
00001 
00002 #ifndef _L12_PARMS_H
00003 #define _L12_PARMS_H
00004 
00005 #define PROGRAM    "l2gen"
00006 #define VERSION    "6.6.8"
00007 
00008 #define NBANDS        16
00009 #define NBANDSIR       8
00010 #define NQMIN          3
00011 #define NQMAX        500
00012 #define FILTMAX       50
00013 #define MAXPIX     10000
00014 #define MAX_OFILES    10
00015 #define MAX_IFILES  1024
00016 #define NFLAGS        32
00017 #define NINPRODS       3
00018 #define MAXWAVE_VIS  720
00019 #define MINWAVE_IR  3000
00020 
00021 #define SUCCESS        0
00022 #define FATAL_ERROR    1
00023 #define LONLAT_ERROR 110
00024 
00025 #define SEAWIFS        0
00026 #define MOS            1
00027 #define OCTS           2
00028 #define AVHRR          3
00029 #define OSMI           4
00030 #define MODIST         5
00031 #define MODISA         6
00032 #define CZCS           7
00033 #define HMODIST        8
00034 #define HMODISA        9
00035 #define OCM1          10
00036 #define OCM2          11
00037 #define MERIS         12
00038 #define MERISL2       13
00039 #define VIIRS         14
00040 #define OCRVC         15
00041 #define HICO          16
00042 #define GOCI          17
00043 #define SENSOR_NUM    18
00044 
00045 #define SEAWIFS_GAC    0
00046 #define SEAWIFS_LAC    1
00047 #define MODISA_SUB     2
00048 #define MODISA_FULL    3
00049 #define MODISB_SUB     4
00050 #define MODISB_FULL    5
00051 
00052 #define OFF            0
00053 #define ON             1
00054 #define NO             0
00055 #define YES            1
00056 
00057 #define BAD_FLT  -32767.0
00058 #define BAD_INT    -32767
00059 #define BAD_BYT         0
00060 
00061 #define FIL_FLT  -32768.0 /* filling not currently done */
00062 #define FIL_INT    -32768
00063 #define FIL_BYT         0
00064 
00065 #define MAXAERMOD     100
00066 #define AERWHITE        0
00067 #define AERWANG        -1
00068 #define AERRHNIR       -2
00069 #define AERWANGNIR     -3
00070 #define FIXMODPAIR     -4
00071 #define FIXMODPAIRNIR  -5
00072 #define FIXANGSTROM    -6
00073 #define FIXANGSTROMNIR -7
00074 #define FIXAOT         -8
00075 #define AERWANGSWIR    -9
00076 #define AERMUMM        -10
00077 #define AERSOA         -11
00078 #define AERSMA         -12
00079 #define AERRHFRNIR     -13
00080 #define AERRHSWIR      -14
00081 #define AERRH          -15
00082 #define AERRHMUMM      -16
00083 #define AERNULL        -99
00084 
00085 #define XCALRVS          1
00086 #define XCALPOL          2
00087 
00088 #define DEFAULT_CHL     0
00089 #define CHL_MIN      0.00
00090 #define CHL_MAX     100.0
00091 #define AOT_MIN      0.00
00092 #define AOT_MAX       1.0
00093 #define BT_LO       -1000
00094 #define BT_HI        1000
00095 #define GLINT_MIN  0.0001
00096 
00097 #define DEM_WIDTH  43200
00098 #define DEM_HEIGHT 21600
00099 
00100 #define BANDW 10
00101 
00102 #define NOBRDF    0     /* brdf  */
00103 #define FRESNSEN  1     /* bit 1 */
00104 #define FRESNSOL  2     /* bit 2 */
00105 #define FOQMOREL  4     /* bit 3 */
00106 #define DTBRDF    8     /* bit 4 */
00107 #define QMOREL   16     /* bit 5 */
00108 
00109 #define O3_BIT  1
00110 #define CO2_BIT 2
00111 #define NO2_BIT 4
00112 #define H2O_BIT 8
00113 
00114 #define IOPNONE   0
00115 #define IOPCARDER 1
00116 #define IOPGSM    2
00117 #define IOPQAA    3
00118 #define IOPPML    4
00119 #define IOPNIWA   5
00120 #define IOPLAS    6
00121 #define IOPGIOP   7
00122 #define IOPDEFAULT IOPQAA
00123 
00124 #define QAABLEND  0
00125 #define QAA555    1
00126 #define QAA640    2
00127 
00128 #define NOMATCH_ERROR  110
00129 #define FILESIZE_ERROR 111
00130 
00131 #ifndef PI
00132 #define PI  3.141592654
00133 #endif
00134 #define RADEG 57.29577951
00135 #define STDPR 1013.25
00136 
00137 #define STDPROC          0   /* evalmask bit definitions              */
00138 #define OLDAERMOD        1   /* init to old aerosol models            */
00139 #define MODCIRRUS       16   /* enables MODIS cirrus mask             */
00140 #define NEWSENSINFO     32   /* use test sensor info file             */
00141 #define NEWRAYTAB       64   /* use test rayleigh tables              */
00142 #define NEWAERTAB      128   /* use test aerosol tables               */
00143 #define NEWPOLTAB      256   /* use test polarization tables          */
00144 #define MSKMODMIR1    1024   /* mask modis mirror-side 1 (navfail)    */
00145 #define MSKMODMIR2    2048   /* mask modis mirror-side 2 (navfail)    */
00146 #define SSTMODS       4096   /* remove warm tests for SSTref          */
00147 #define ALTSENSORINFO 8192   /* use .alt sensor infor file in eval    */
00148 #define TRANSSPHER   32768   /* enables spherical path geom for dtran */
00149 
00150 #define SOLZNIGHT      90.0
00151 #define DAYSCENE       0
00152 #define NIGHTSCENE     1
00153 #define DAYANDNIGHT    2
00154 #define UNKNOWNSCENE   3
00155 
00156 #define SWN  0
00157 #define SWA  1
00158 #define SWBB 2
00159  
00160 #endif