OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
ias_const.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define TRUE   1
 
#define FALSE   0
 
#define SUCCESS   0
 
#define ERROR   -1
 
#define WARNING   -2
 
#define IAS_DAYS_IN_YEAR   365
 
#define IAS_DAYS_IN_LEAP_YEAR
 
#define IAS_SOFTWARE_VERSION_SIZE   11
 
#define IAS_INSTRUMENT_SOURCE_SIZE   32
 
#define IAS_BAND_NAME_SIZE   30
 
#define IAS_COLLECT_TYPE_SIZE   50
 
#define IAS_EPOCH_2000   2451545.0 /* Julian date of epoch 2000 */
 
#define IAS_JULIAN_CENTURY   36525.0 /* Julian century */
 
#define IAS_SEC_PER_DAY   86400 /* Seconds Per Day */
 
#define IAS_DAILY_SECONDS_IN_LEAP_YEAR
 
#define IAS_MIN_YEAR   1970
 
#define IAS_MAX_YEAR   2099
 
#define IAS_MAX_MONTH   12
 
#define IAS_MIN_MONTH   1
 
#define IAS_SENSOR_NAME_LENGTH   11
 
#define IAS_SENSOR_ID_SIZE   9
 
#define IAS_SPACECRAFT_NAME_LENGTH   10
 
#define IAS_MODIFIED_JULIAN_DATE   2400000.5
 
#define IAS_UNITS_SIZE   12
 
#define IAS_DATUM_SIZE   16
 
#define IAS_PROJ_PARAM_SIZE   15
 
#define IAS_WORKORDER_ID_LENGTH   12
 
#define IAS_WORKORDER_ID_SIZE   (IAS_WORKORDER_ID_LENGTH + 1)
 
#define IAS_PRODUCT_REQUEST_ID_LENGTH   20
 
#define IAS_PRODUCT_REQUEST_ID_SIZE   (IAS_PRODUCT_REQUEST_ID_LENGTH + 1)
 
#define IAS_CHAR_ID_LENGTH   20
 
#define IAS_CHAR_ID_SIZE   (IAS_CHAR_ID_LENGTH + 1)
 
#define IAS_DIFFUSER_TYPE_SIZE   9
 
#define IAS_BIAS_MODEL_TYPE_SIZE   11
 
#define IAS_LAGRANGE_PTS   4
 
#define IAS_LOS_LEGENDRE_TERMS   4
 
#define IAS_OFF_NADIR_BOUNDARY   0.5
 
#define IAS_IS_EVEN_LINE(line_index)   (((line_index) & 0x01) != 0)
 
#define INVALID_ELEVATION   -999999
 
#define IAS_QUALITY_BIT_NOTHING   0x0000 /* No bits are selected */
 
#define IAS_QUALITY_BIT_FILL   0x0001 /* Bit 0 */
 
#define IAS_QUALITY_BIT_DROPPED_FRAME   0x0002 /* Bit 1 */
 
#define IAS_QUALITY_BIT_TERRAIN_OCCLUSION   0x0004 /* Bit 2 */
 
#define IAS_QUALITY_BIT_RESERVED_1   0x0008 /* Bit 3 */
 
#define IAS_QUALITY_BIT_WATER_01   0x0010 /* Bit 4 */
 
#define IAS_QUALITY_BIT_WATER_10   0x0020 /* Bit 5 */
 
#define IAS_QUALITY_BIT_WATER_11   0x0030 /* Bits 4 and 5 */
 
#define IAS_QUALITY_BIT_RESERVED_2   0x0040 /* Bit 6 */
 
#define IAS_QUALITY_BIT_RESERVED_3   0x0080 /* Bit 7 */
 
#define IAS_QUALITY_BIT_VEGETATION_01   0x0100 /* Bit 8 */
 
#define IAS_QUALITY_BIT_VEGETATION_10   0x0200 /* Bit 9 */
 
#define IAS_QUALITY_BIT_VEGETATION_11   0x0300 /* Bits 8 and 9 */
 
#define IAS_QUALITY_BIT_SNOW_ICE_01   0x0400 /* Bit 10 */
 
#define IAS_QUALITY_BIT_SNOW_ICE_10   0x0800 /* Bit 11 */
 
#define IAS_QUALITY_BIT_SNOW_ICE_11   0x0C00 /* Bits 10 and 11 */
 
#define IAS_QUALITY_BIT_CIRRUS_01   0x1000 /* Bit 12 */
 
#define IAS_QUALITY_BIT_CIRRUS_10   0x2000 /* Bit 13 */
 
#define IAS_QUALITY_BIT_CIRRUS_11   0x3000 /* Bits 12 and 13 */
 
#define IAS_QUALITY_BIT_CLOUD_01   0x4000 /* Bit 14 */
 
#define IAS_QUALITY_BIT_CLOUD_10   0x8000 /* Bit 15 */
 
#define IAS_QUALITY_BIT_CLOUD_11   0xC000 /* Bits 14 and 15 */
 

Macro Definition Documentation

◆ ERROR

#define ERROR   -1

Definition at line 13 of file ias_const.h.

◆ FALSE

#define FALSE   0

Definition at line 9 of file ias_const.h.

◆ IAS_BAND_NAME_SIZE

#define IAS_BAND_NAME_SIZE   30

Definition at line 21 of file ias_const.h.

◆ IAS_BIAS_MODEL_TYPE_SIZE

#define IAS_BIAS_MODEL_TYPE_SIZE   11

Definition at line 81 of file ias_const.h.

◆ IAS_CHAR_ID_LENGTH

#define IAS_CHAR_ID_LENGTH   20

Definition at line 74 of file ias_const.h.

◆ IAS_CHAR_ID_SIZE

#define IAS_CHAR_ID_SIZE   (IAS_CHAR_ID_LENGTH + 1)

Definition at line 76 of file ias_const.h.

◆ IAS_COLLECT_TYPE_SIZE

#define IAS_COLLECT_TYPE_SIZE   50

Definition at line 22 of file ias_const.h.

◆ IAS_DAILY_SECONDS_IN_LEAP_YEAR

#define IAS_DAILY_SECONDS_IN_LEAP_YEAR
Value:
86401 /* Number of seconds per day
(+1 to account for leap
seconds) */

Definition at line 28 of file ias_const.h.

◆ IAS_DATUM_SIZE

#define IAS_DATUM_SIZE   16

Definition at line 58 of file ias_const.h.

◆ IAS_DAYS_IN_LEAP_YEAR

#define IAS_DAYS_IN_LEAP_YEAR
Value:
366 /* Number of days per year
(+1 for leap years) */

Definition at line 18 of file ias_const.h.

◆ IAS_DAYS_IN_YEAR

#define IAS_DAYS_IN_YEAR   365

Definition at line 17 of file ias_const.h.

◆ IAS_DIFFUSER_TYPE_SIZE

#define IAS_DIFFUSER_TYPE_SIZE   9

Definition at line 80 of file ias_const.h.

◆ IAS_EPOCH_2000

#define IAS_EPOCH_2000   2451545.0 /* Julian date of epoch 2000 */

Definition at line 24 of file ias_const.h.

◆ IAS_INSTRUMENT_SOURCE_SIZE

#define IAS_INSTRUMENT_SOURCE_SIZE   32

Definition at line 20 of file ias_const.h.

◆ IAS_IS_EVEN_LINE

#define IAS_IS_EVEN_LINE (   line_index)    (((line_index) & 0x01) != 0)

Definition at line 104 of file ias_const.h.

◆ IAS_JULIAN_CENTURY

#define IAS_JULIAN_CENTURY   36525.0 /* Julian century */

Definition at line 25 of file ias_const.h.

◆ IAS_LAGRANGE_PTS

#define IAS_LAGRANGE_PTS   4

Definition at line 84 of file ias_const.h.

◆ IAS_LOS_LEGENDRE_TERMS

#define IAS_LOS_LEGENDRE_TERMS   4

Definition at line 87 of file ias_const.h.

◆ IAS_MAX_MONTH

#define IAS_MAX_MONTH   12

Definition at line 37 of file ias_const.h.

◆ IAS_MAX_YEAR

#define IAS_MAX_YEAR   2099

Definition at line 36 of file ias_const.h.

◆ IAS_MIN_MONTH

#define IAS_MIN_MONTH   1

Definition at line 38 of file ias_const.h.

◆ IAS_MIN_YEAR

#define IAS_MIN_YEAR   1970

Definition at line 34 of file ias_const.h.

◆ IAS_MODIFIED_JULIAN_DATE

#define IAS_MODIFIED_JULIAN_DATE   2400000.5

Definition at line 50 of file ias_const.h.

◆ IAS_OFF_NADIR_BOUNDARY

#define IAS_OFF_NADIR_BOUNDARY   0.5

Definition at line 90 of file ias_const.h.

◆ IAS_PRODUCT_REQUEST_ID_LENGTH

#define IAS_PRODUCT_REQUEST_ID_LENGTH   20

Definition at line 69 of file ias_const.h.

◆ IAS_PRODUCT_REQUEST_ID_SIZE

#define IAS_PRODUCT_REQUEST_ID_SIZE   (IAS_PRODUCT_REQUEST_ID_LENGTH + 1)

Definition at line 71 of file ias_const.h.

◆ IAS_PROJ_PARAM_SIZE

#define IAS_PROJ_PARAM_SIZE   15

Definition at line 61 of file ias_const.h.

◆ IAS_QUALITY_BIT_CIRRUS_01

#define IAS_QUALITY_BIT_CIRRUS_01   0x1000 /* Bit 12 */

Definition at line 163 of file ias_const.h.

◆ IAS_QUALITY_BIT_CIRRUS_10

#define IAS_QUALITY_BIT_CIRRUS_10   0x2000 /* Bit 13 */

Definition at line 164 of file ias_const.h.

◆ IAS_QUALITY_BIT_CIRRUS_11

#define IAS_QUALITY_BIT_CIRRUS_11   0x3000 /* Bits 12 and 13 */

Definition at line 165 of file ias_const.h.

◆ IAS_QUALITY_BIT_CLOUD_01

#define IAS_QUALITY_BIT_CLOUD_01   0x4000 /* Bit 14 */

Definition at line 167 of file ias_const.h.

◆ IAS_QUALITY_BIT_CLOUD_10

#define IAS_QUALITY_BIT_CLOUD_10   0x8000 /* Bit 15 */

Definition at line 168 of file ias_const.h.

◆ IAS_QUALITY_BIT_CLOUD_11

#define IAS_QUALITY_BIT_CLOUD_11   0xC000 /* Bits 14 and 15 */

Definition at line 169 of file ias_const.h.

◆ IAS_QUALITY_BIT_DROPPED_FRAME

#define IAS_QUALITY_BIT_DROPPED_FRAME   0x0002 /* Bit 1 */

Definition at line 142 of file ias_const.h.

◆ IAS_QUALITY_BIT_FILL

#define IAS_QUALITY_BIT_FILL   0x0001 /* Bit 0 */

Definition at line 140 of file ias_const.h.

◆ IAS_QUALITY_BIT_NOTHING

#define IAS_QUALITY_BIT_NOTHING   0x0000 /* No bits are selected */

Definition at line 138 of file ias_const.h.

◆ IAS_QUALITY_BIT_RESERVED_1

#define IAS_QUALITY_BIT_RESERVED_1   0x0008 /* Bit 3 */

Definition at line 146 of file ias_const.h.

◆ IAS_QUALITY_BIT_RESERVED_2

#define IAS_QUALITY_BIT_RESERVED_2   0x0040 /* Bit 6 */

Definition at line 152 of file ias_const.h.

◆ IAS_QUALITY_BIT_RESERVED_3

#define IAS_QUALITY_BIT_RESERVED_3   0x0080 /* Bit 7 */

Definition at line 153 of file ias_const.h.

◆ IAS_QUALITY_BIT_SNOW_ICE_01

#define IAS_QUALITY_BIT_SNOW_ICE_01   0x0400 /* Bit 10 */

Definition at line 159 of file ias_const.h.

◆ IAS_QUALITY_BIT_SNOW_ICE_10

#define IAS_QUALITY_BIT_SNOW_ICE_10   0x0800 /* Bit 11 */

Definition at line 160 of file ias_const.h.

◆ IAS_QUALITY_BIT_SNOW_ICE_11

#define IAS_QUALITY_BIT_SNOW_ICE_11   0x0C00 /* Bits 10 and 11 */

Definition at line 161 of file ias_const.h.

◆ IAS_QUALITY_BIT_TERRAIN_OCCLUSION

#define IAS_QUALITY_BIT_TERRAIN_OCCLUSION   0x0004 /* Bit 2 */

Definition at line 144 of file ias_const.h.

◆ IAS_QUALITY_BIT_VEGETATION_01

#define IAS_QUALITY_BIT_VEGETATION_01   0x0100 /* Bit 8 */

Definition at line 155 of file ias_const.h.

◆ IAS_QUALITY_BIT_VEGETATION_10

#define IAS_QUALITY_BIT_VEGETATION_10   0x0200 /* Bit 9 */

Definition at line 156 of file ias_const.h.

◆ IAS_QUALITY_BIT_VEGETATION_11

#define IAS_QUALITY_BIT_VEGETATION_11   0x0300 /* Bits 8 and 9 */

Definition at line 157 of file ias_const.h.

◆ IAS_QUALITY_BIT_WATER_01

#define IAS_QUALITY_BIT_WATER_01   0x0010 /* Bit 4 */

Definition at line 148 of file ias_const.h.

◆ IAS_QUALITY_BIT_WATER_10

#define IAS_QUALITY_BIT_WATER_10   0x0020 /* Bit 5 */

Definition at line 149 of file ias_const.h.

◆ IAS_QUALITY_BIT_WATER_11

#define IAS_QUALITY_BIT_WATER_11   0x0030 /* Bits 4 and 5 */

Definition at line 150 of file ias_const.h.

◆ IAS_SEC_PER_DAY

#define IAS_SEC_PER_DAY   86400 /* Seconds Per Day */

Definition at line 27 of file ias_const.h.

◆ IAS_SENSOR_ID_SIZE

#define IAS_SENSOR_ID_SIZE   9

Definition at line 45 of file ias_const.h.

◆ IAS_SENSOR_NAME_LENGTH

#define IAS_SENSOR_NAME_LENGTH   11

Definition at line 41 of file ias_const.h.

◆ IAS_SOFTWARE_VERSION_SIZE

#define IAS_SOFTWARE_VERSION_SIZE   11

Definition at line 19 of file ias_const.h.

◆ IAS_SPACECRAFT_NAME_LENGTH

#define IAS_SPACECRAFT_NAME_LENGTH   10

Definition at line 48 of file ias_const.h.

◆ IAS_UNITS_SIZE

#define IAS_UNITS_SIZE   12

Definition at line 55 of file ias_const.h.

◆ IAS_WORKORDER_ID_LENGTH

#define IAS_WORKORDER_ID_LENGTH   12

Definition at line 64 of file ias_const.h.

◆ IAS_WORKORDER_ID_SIZE

#define IAS_WORKORDER_ID_SIZE   (IAS_WORKORDER_ID_LENGTH + 1)

Definition at line 66 of file ias_const.h.

◆ INVALID_ELEVATION

#define INVALID_ELEVATION   -999999

Definition at line 112 of file ias_const.h.

◆ SUCCESS

#define SUCCESS   0

Definition at line 12 of file ias_const.h.

◆ TRUE

#define TRUE   1

Definition at line 5 of file ias_const.h.

◆ WARNING

#define WARNING   -2

Definition at line 14 of file ias_const.h.