ocssw V2020
l12_parms.h File Reference
#include <sensorDefs.h>
Include dependency graph for l12_parms.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PROGRAM   "l2gen"
 
#define NBANDSIR   8
 
#define NQMIN   3
 
#define NQMAX   500
 
#define FILTMAX   200
 
#define MAXPIX   10000
 
#define MAX_OFILES   10
 
#define MAX_IFILES   1024
 
#define NFLAGS   32
 
#define NSSTFLAGS   16
 
#define NGIOPFLAGS   16
 
#define NINPRODS   3
 
#define NQSSTFLAGS   5
 
#define SUCCESS   0
 
#define FATAL_ERROR   1
 
#define LONLAT_ERROR   110
 
#define OFF   0
 
#define ON   1
 
#define NO   0
 
#define YES   1
 
#define MAXAERMOD   100
 
#define AERWHITE   0
 
#define AERWANG   -1
 
#define AERRHNIR   -2
 
#define AERWANGNIR   -3
 
#define FIXMODPAIR   -4
 
#define FIXMODPAIRNIR   -5
 
#define FIXANGSTROM   -6
 
#define FIXANGSTROMNIR   -7
 
#define FIXAOT   -8
 
#define AERWANGSWIR   -9
 
#define AERMUMM   -10
 
#define AERRHFRNIR   -13
 
#define AERRHSWIR   -14
 
#define AERRH   -15
 
#define AERRHMUMM   -16
 
#define AERRHMSEPS   -17
 
#define AERRHSM   -18
 
#define AERRHMSEPS_lin   -19
 
#define AERNULL   -99
 
#define XCALRVS   1
 
#define XCALPOL   2
 
#define XCALOLI   4
 
#define DEFAULT_CHL   0
 
#define CHL_MIN   0.00
 
#define CHL_MAX   100.0
 
#define AOT_MIN   0.00
 
#define AOT_MAX   1.0
 
#define BT_LO   -1000
 
#define BT_HI   1000
 
#define GLINT_MIN   0.0001
 
#define DEM_WIDTH   43200
 
#define DEM_HEIGHT   21600
 
#define BANDW   10
 
#define NOBRDF   0 /* brdf */
 
#define FRESNSEN   1 /* bit 1 */
 
#define FRESNSOL   2 /* bit 2 */
 
#define FOQMOREL   4 /* bit 3 */
 
#define DTBRDF   8 /* bit 4 */
 
#define QMOREL   16 /* bit 5 */
 
#define O3_BIT   1
 
#define CO2_BIT   2
 
#define NO2_BIT   4
 
#define H2O_BIT   8
 
#define ATREM_BIT   16
 
#define GAS_TRANS_TBL_BIT   32
 
#define IOPNONE   0
 
#define IOPCARDER   1
 
#define IOPGSM   2
 
#define IOPQAA   3
 
#define IOPPML   4
 
#define IOPNIWA   5
 
#define IOPLAS   6
 
#define IOPGIOP   7
 
#define IOPSWIM   8
 
#define IOPDEFAULT   IOPQAA
 
#define QAABLEND   0
 
#define QAA555   1
 
#define QAA640   2
 
#define NOMATCH_ERROR   110
 
#define FILESIZE_ERROR   111
 
#define PI   3.141592654
 
#define RADEG   57.29577951
 
#define STDPR   1013.25
 
#define STDPROC   0 /* evalmask bit definitions */
 
#define OLDAERMOD   1 /* init to old aerosol models */
 
#define MODCLOUD   2 /* enables MODIS/MERIS cloud mask algorithm */
 
#define MODCIRRUS   16 /* enables MODIS cirrus mask */
 
#define NEWSENSINFO   32 /* use test sensor info file */
 
#define NEWRAYTAB   64 /* use test rayleigh tables */
 
#define NEWAERTAB   128 /* use test aerosol tables */
 
#define NEWPOLTAB   256 /* use test polarization tables */
 
#define MSKMODMIR1   1024 /* mask modis mirror-side 1 (navfail) */
 
#define MSKMODMIR2   2048 /* mask modis mirror-side 2 (navfail) */
 
#define SSTMODS   4096 /* reserved for testing SST changes */
 
#define ALTSENSORINFO   8192 /* use .alt sensor infor file in eval */
 
#define TRANSSPHER   32768 /* enables spherical path geom for dtran */
 
#define SOLZNIGHT   85.0
 
#define SOLZNIGHTA   80.0
 
#define DAYSCENE   0
 
#define NIGHTSCENE   1
 
#define DAYANDNIGHT   2
 
#define UNKNOWNSCENE   3
 
#define SWN   0
 
#define SWA   1
 
#define SWBB   2
 

Macro Definition Documentation

◆ AERMUMM

#define AERMUMM   -10

Definition at line 58 of file l12_parms.h.

◆ AERNULL

#define AERNULL   -99

Definition at line 66 of file l12_parms.h.

◆ AERRH

#define AERRH   -15

Definition at line 61 of file l12_parms.h.

◆ AERRHFRNIR

#define AERRHFRNIR   -13

Definition at line 59 of file l12_parms.h.

◆ AERRHMSEPS

#define AERRHMSEPS   -17

Definition at line 63 of file l12_parms.h.

◆ AERRHMSEPS_lin

#define AERRHMSEPS_lin   -19

Definition at line 65 of file l12_parms.h.

◆ AERRHMUMM

#define AERRHMUMM   -16

Definition at line 62 of file l12_parms.h.

◆ AERRHNIR

#define AERRHNIR   -2

Definition at line 50 of file l12_parms.h.

◆ AERRHSM

#define AERRHSM   -18

Definition at line 64 of file l12_parms.h.

◆ AERRHSWIR

#define AERRHSWIR   -14

Definition at line 60 of file l12_parms.h.

◆ AERWANG

#define AERWANG   -1

Definition at line 49 of file l12_parms.h.

◆ AERWANGNIR

#define AERWANGNIR   -3

Definition at line 51 of file l12_parms.h.

◆ AERWANGSWIR

#define AERWANGSWIR   -9

Definition at line 57 of file l12_parms.h.

◆ AERWHITE

#define AERWHITE   0

Definition at line 48 of file l12_parms.h.

◆ ALTSENSORINFO

#define ALTSENSORINFO   8192 /* use .alt sensor infor file in eval */

Definition at line 135 of file l12_parms.h.

◆ AOT_MAX

#define AOT_MAX   1.0

Definition at line 76 of file l12_parms.h.

◆ AOT_MIN

#define AOT_MIN   0.00

Definition at line 75 of file l12_parms.h.

◆ ATREM_BIT

#define ATREM_BIT   16

Definition at line 97 of file l12_parms.h.

◆ BANDW

#define BANDW   10

Definition at line 84 of file l12_parms.h.

◆ BT_HI

#define BT_HI   1000

Definition at line 78 of file l12_parms.h.

◆ BT_LO

#define BT_LO   -1000

Definition at line 77 of file l12_parms.h.

◆ CHL_MAX

#define CHL_MAX   100.0

Definition at line 74 of file l12_parms.h.

◆ CHL_MIN

#define CHL_MIN   0.00

Definition at line 73 of file l12_parms.h.

◆ CO2_BIT

#define CO2_BIT   2

Definition at line 94 of file l12_parms.h.

◆ DAYANDNIGHT

#define DAYANDNIGHT   2

Definition at line 142 of file l12_parms.h.

◆ DAYSCENE

#define DAYSCENE   0

Definition at line 140 of file l12_parms.h.

◆ DEFAULT_CHL

#define DEFAULT_CHL   0

Definition at line 72 of file l12_parms.h.

◆ DEM_HEIGHT

#define DEM_HEIGHT   21600

Definition at line 82 of file l12_parms.h.

◆ DEM_WIDTH

#define DEM_WIDTH   43200

Definition at line 81 of file l12_parms.h.

◆ DTBRDF

#define DTBRDF   8 /* bit 4 */

Definition at line 90 of file l12_parms.h.

◆ FATAL_ERROR

#define FATAL_ERROR   1

Definition at line 24 of file l12_parms.h.

◆ FILESIZE_ERROR

#define FILESIZE_ERROR   111

Definition at line 116 of file l12_parms.h.

◆ FILTMAX

#define FILTMAX   200

Definition at line 13 of file l12_parms.h.

◆ FIXANGSTROM

#define FIXANGSTROM   -6

Definition at line 54 of file l12_parms.h.

◆ FIXANGSTROMNIR

#define FIXANGSTROMNIR   -7

Definition at line 55 of file l12_parms.h.

◆ FIXAOT

#define FIXAOT   -8

Definition at line 56 of file l12_parms.h.

◆ FIXMODPAIR

#define FIXMODPAIR   -4

Definition at line 52 of file l12_parms.h.

◆ FIXMODPAIRNIR

#define FIXMODPAIRNIR   -5

Definition at line 53 of file l12_parms.h.

◆ FOQMOREL

#define FOQMOREL   4 /* bit 3 */

Definition at line 89 of file l12_parms.h.

◆ FRESNSEN

#define FRESNSEN   1 /* bit 1 */

Definition at line 87 of file l12_parms.h.

◆ FRESNSOL

#define FRESNSOL   2 /* bit 2 */

Definition at line 88 of file l12_parms.h.

◆ GAS_TRANS_TBL_BIT

#define GAS_TRANS_TBL_BIT   32

Definition at line 98 of file l12_parms.h.

◆ GLINT_MIN

#define GLINT_MIN   0.0001

Definition at line 79 of file l12_parms.h.

◆ H2O_BIT

#define H2O_BIT   8

Definition at line 96 of file l12_parms.h.

◆ IOPCARDER

#define IOPCARDER   1

Definition at line 101 of file l12_parms.h.

◆ IOPDEFAULT

#define IOPDEFAULT   IOPQAA

Definition at line 109 of file l12_parms.h.

◆ IOPGIOP

#define IOPGIOP   7

Definition at line 107 of file l12_parms.h.

◆ IOPGSM

#define IOPGSM   2

Definition at line 102 of file l12_parms.h.

◆ IOPLAS

#define IOPLAS   6

Definition at line 106 of file l12_parms.h.

◆ IOPNIWA

#define IOPNIWA   5

Definition at line 105 of file l12_parms.h.

◆ IOPNONE

#define IOPNONE   0

Definition at line 100 of file l12_parms.h.

◆ IOPPML

#define IOPPML   4

Definition at line 104 of file l12_parms.h.

◆ IOPQAA

#define IOPQAA   3

Definition at line 103 of file l12_parms.h.

◆ IOPSWIM

#define IOPSWIM   8

Definition at line 108 of file l12_parms.h.

◆ LONLAT_ERROR

#define LONLAT_ERROR   110

Definition at line 25 of file l12_parms.h.

◆ MAX_IFILES

#define MAX_IFILES   1024

Definition at line 16 of file l12_parms.h.

◆ MAX_OFILES

#define MAX_OFILES   10

Definition at line 15 of file l12_parms.h.

◆ MAXAERMOD

#define MAXAERMOD   100

Definition at line 47 of file l12_parms.h.

◆ MAXPIX

#define MAXPIX   10000

Definition at line 14 of file l12_parms.h.

◆ MODCIRRUS

#define MODCIRRUS   16 /* enables MODIS cirrus mask */

Definition at line 127 of file l12_parms.h.

◆ MODCLOUD

#define MODCLOUD   2 /* enables MODIS/MERIS cloud mask algorithm */

Definition at line 126 of file l12_parms.h.

◆ MSKMODMIR1

#define MSKMODMIR1   1024 /* mask modis mirror-side 1 (navfail) */

Definition at line 132 of file l12_parms.h.

◆ MSKMODMIR2

#define MSKMODMIR2   2048 /* mask modis mirror-side 2 (navfail) */

Definition at line 133 of file l12_parms.h.

◆ NBANDSIR

#define NBANDSIR   8

Definition at line 10 of file l12_parms.h.

◆ NEWAERTAB

#define NEWAERTAB   128 /* use test aerosol tables */

Definition at line 130 of file l12_parms.h.

◆ NEWPOLTAB

#define NEWPOLTAB   256 /* use test polarization tables */

Definition at line 131 of file l12_parms.h.

◆ NEWRAYTAB

#define NEWRAYTAB   64 /* use test rayleigh tables */

Definition at line 129 of file l12_parms.h.

◆ NEWSENSINFO

#define NEWSENSINFO   32 /* use test sensor info file */

Definition at line 128 of file l12_parms.h.

◆ NFLAGS

#define NFLAGS   32

Definition at line 17 of file l12_parms.h.

◆ NGIOPFLAGS

#define NGIOPFLAGS   16

Definition at line 19 of file l12_parms.h.

◆ NIGHTSCENE

#define NIGHTSCENE   1

Definition at line 141 of file l12_parms.h.

◆ NINPRODS

#define NINPRODS   3

Definition at line 20 of file l12_parms.h.

◆ NO

#define NO   0

Definition at line 36 of file l12_parms.h.

◆ NO2_BIT

#define NO2_BIT   4

Definition at line 95 of file l12_parms.h.

◆ NOBRDF

#define NOBRDF   0 /* brdf */

Definition at line 86 of file l12_parms.h.

◆ NOMATCH_ERROR

#define NOMATCH_ERROR   110

Definition at line 115 of file l12_parms.h.

◆ NQMAX

#define NQMAX   500

Definition at line 12 of file l12_parms.h.

◆ NQMIN

#define NQMIN   3

Definition at line 11 of file l12_parms.h.

◆ NQSSTFLAGS

#define NQSSTFLAGS   5

Definition at line 21 of file l12_parms.h.

◆ NSSTFLAGS

#define NSSTFLAGS   16

Definition at line 18 of file l12_parms.h.

◆ O3_BIT

#define O3_BIT   1

Definition at line 93 of file l12_parms.h.

◆ OFF

#define OFF   0

Definition at line 34 of file l12_parms.h.

◆ OLDAERMOD

#define OLDAERMOD   1 /* init to old aerosol models */

Definition at line 125 of file l12_parms.h.

◆ ON

#define ON   1

Definition at line 35 of file l12_parms.h.

◆ PI

#define PI   3.141592654

Definition at line 119 of file l12_parms.h.

◆ PROGRAM

#define PROGRAM   "l2gen"

Definition at line 7 of file l12_parms.h.

◆ QAA555

#define QAA555   1

Definition at line 112 of file l12_parms.h.

◆ QAA640

#define QAA640   2

Definition at line 113 of file l12_parms.h.

◆ QAABLEND

#define QAABLEND   0

Definition at line 111 of file l12_parms.h.

◆ QMOREL

#define QMOREL   16 /* bit 5 */

Definition at line 91 of file l12_parms.h.

◆ RADEG

#define RADEG   57.29577951

Definition at line 121 of file l12_parms.h.

◆ SOLZNIGHT

#define SOLZNIGHT   85.0

Definition at line 138 of file l12_parms.h.

◆ SOLZNIGHTA

#define SOLZNIGHTA   80.0

Definition at line 139 of file l12_parms.h.

◆ SSTMODS

#define SSTMODS   4096 /* reserved for testing SST changes */

Definition at line 134 of file l12_parms.h.

◆ STDPR

#define STDPR   1013.25

Definition at line 122 of file l12_parms.h.

◆ STDPROC

#define STDPROC   0 /* evalmask bit definitions */

Definition at line 124 of file l12_parms.h.

◆ SUCCESS

#define SUCCESS   0

Definition at line 23 of file l12_parms.h.

◆ SWA

#define SWA   1

Definition at line 146 of file l12_parms.h.

◆ SWBB

#define SWBB   2

Definition at line 147 of file l12_parms.h.

◆ SWN

#define SWN   0

Definition at line 145 of file l12_parms.h.

◆ TRANSSPHER

#define TRANSSPHER   32768 /* enables spherical path geom for dtran */

Definition at line 136 of file l12_parms.h.

◆ UNKNOWNSCENE

#define UNKNOWNSCENE   3

Definition at line 143 of file l12_parms.h.

◆ XCALOLI

#define XCALOLI   4

Definition at line 70 of file l12_parms.h.

◆ XCALPOL

#define XCALPOL   2

Definition at line 69 of file l12_parms.h.

◆ XCALRVS

#define XCALRVS   1

Definition at line 68 of file l12_parms.h.

◆ YES

#define YES   1

Definition at line 37 of file l12_parms.h.