OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
AfrtConstants.h File Reference
#include <math.h>
#include <boost/multi_array.hpp>
Include dependency graph for AfrtConstants.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define BOOST_DISABLE_ASSERTS
 
#define NUM_SEASONS   4
 

Typedefs

typedef boost::multi_array< double, 1 > int_1darray
 
typedef boost::multi_array< double, 1 > double_1darray
 
typedef boost::multi_array< double, 2 > double_2darray
 
typedef boost::multi_array< double, 3 > double_3darray
 
typedef boost::multi_array< int, 3 > int_3darray
 
typedef boost::multi_array< double, 4 > double_4darray
 
typedef boost::multi_array< int, 4 > int_4darray
 
typedef boost::multi_array< double, 5 > double_5darray
 
typedef boost::multi_array< double, 6 > double_6darray
 
typedef boost::multi_array< double, 7 > double_7darray
 
typedef boost::multi_array< double, 8 > double_8darray
 

Enumerations

enum  SEASON_ENUM {
  WINTER, SPRING, SUMMER, FALL,
  NEVER, WINTER, SPRING, SUMMER,
  FALL, NEVER
}
 
enum  STAGE_ENUM {
  PHS, OCN, RT1, RT2,
  BOGUS
}
 
enum  PROJECT_ENUM {
  MODIS, VIIRS, PACE, NOTHING,
  MODIS, VIIRS, PACE, NOTHING
}
 

Variables

const int RT_SUCCESS = 0
 
const int RT_FAIL = 1
 
const bool bShuffleFilter = true
 
const bool bDeflateFilter = true
 
const int deflateLevel = 5
 
const double D2R = M_PI/180.0
 
const double R2D = 180.0/M_PI
 
const double PIO2 = M_PI_2
 
const double PIO4 = M_PI_4
 
const double TREPIO2 = 3.0L*M_PI/2.0L
 
const double TWOPI = 2.0L*M_PI
 
const double DEG2RAD = M_PI/180.0L
 
const double RAD2DEG = 180.0L/M_PI
 
const double DEG2ARCSEC = 3600.0L
 
const float DRYGAS = 287.05
 
const double AVG_PRESS_SEALVL = 1013.25e0
 
const double GRAVITY = 9.80665
 
const double EARTH_RADIUS_METERS = 6371007.181
 
const double EQUAT_RAD = 6.37813700000000e+6
 
const double POLAR_RAD = 6.35675231424518e+6
 
const double ECCEN_SQ = 6.69437999014132e-3
 
const double FLATFAC = 3.35281066474748071e-3
 
const double EARTH_GRAV_mu = 3.986005000e+14
 
const double DETIC2CENTRIC = 9.93305620009859e-1
 
const double CENTRIC2DETIC = 1.00673949674228e+0
 
const double TAI2IET = 1.0e+06
 
const double MIN_IN_HOUR = 60.0e+0
 
const double SEC_IN_HOUR = 3600.0e+0
 
const double MJD_CONV_FAC = 2.4000005e+6
 
const double SEC_IN_DAY = 8.64e+04
 
const double UJD58 = 2.43620450e+06
 
const double JAN012030 = 2.272147232e+09
 
const double TJD_CONV_FAC = 32.184e+0
 
const double DEG_IN_HOUR = 15.0e+0
 
const double MINUS30 = -0.523598775598299e0
 
const double PLUS30 = 0.523598775598299e0
 
const double GAS = 621.97
 
const double MICRO = 0.000001
 
const double MILLI = 0.001
 
const double CENTI = 0.01
 
const double DECI = 0.1
 
const double DEKA = 10.0
 
const double HECTO = 100.0
 
const double TCOEFF =273.15
 
const float PRESS_CONV = 1.0 / 101325.0
 
const double STDPSL =1013.0
 
const double MOIST_AIR_LAPSE_RATE = 6.5/1000
 

Macro Definition Documentation

◆ BOOST_DISABLE_ASSERTS

#define BOOST_DISABLE_ASSERTS

Definition at line 15 of file AfrtConstants.h.

◆ NUM_SEASONS

#define NUM_SEASONS   4

Definition at line 32 of file AfrtConstants.h.

Typedef Documentation

◆ double_1darray

typedef boost::multi_array<double, 1> double_1darray

Definition at line 17 of file AfrtConstants.h.

◆ double_2darray

typedef boost::multi_array<double, 2> double_2darray

Definition at line 18 of file AfrtConstants.h.

◆ double_3darray

typedef boost::multi_array<double, 3> double_3darray

Definition at line 19 of file AfrtConstants.h.

◆ double_4darray

typedef boost::multi_array<double, 4> double_4darray

Definition at line 21 of file AfrtConstants.h.

◆ double_5darray

typedef boost::multi_array<double, 5> double_5darray

Definition at line 23 of file AfrtConstants.h.

◆ double_6darray

typedef boost::multi_array<double, 6> double_6darray

Definition at line 24 of file AfrtConstants.h.

◆ double_7darray

typedef boost::multi_array<double, 7> double_7darray

Definition at line 25 of file AfrtConstants.h.

◆ double_8darray

typedef boost::multi_array<double, 8> double_8darray

Definition at line 26 of file AfrtConstants.h.

◆ int_1darray

typedef boost::multi_array<double, 1> int_1darray

Definition at line 16 of file AfrtConstants.h.

◆ int_3darray

typedef boost::multi_array<int, 3> int_3darray

Definition at line 20 of file AfrtConstants.h.

◆ int_4darray

typedef boost::multi_array<int, 4> int_4darray

Definition at line 22 of file AfrtConstants.h.

Enumeration Type Documentation

◆ PROJECT_ENUM

Enumerator
MODIS 
VIIRS 
PACE 
NOTHING 
MODIS 
VIIRS 
PACE 
NOTHING 

Definition at line 63 of file AfrtConstants.h.

◆ SEASON_ENUM

Enumerator
WINTER 
SPRING 
SUMMER 
FALL 
NEVER 
WINTER 
SPRING 
SUMMER 
FALL 
NEVER 

Definition at line 45 of file AfrtConstants.h.

◆ STAGE_ENUM

enum STAGE_ENUM
Enumerator
PHS 
OCN 
RT1 
RT2 
BOGUS 

Definition at line 54 of file AfrtConstants.h.

Variable Documentation

◆ AVG_PRESS_SEALVL

const double AVG_PRESS_SEALVL = 1013.25e0

Definition at line 100 of file AfrtConstants.h.

◆ bDeflateFilter

const bool bDeflateFilter = true

Definition at line 40 of file AfrtConstants.h.

◆ bShuffleFilter

const bool bShuffleFilter = true

Definition at line 39 of file AfrtConstants.h.

◆ CENTI

const double CENTI = 0.01

Definition at line 161 of file AfrtConstants.h.

◆ CENTRIC2DETIC

const double CENTRIC2DETIC = 1.00673949674228e+0

Definition at line 134 of file AfrtConstants.h.

◆ D2R

const double D2R = M_PI/180.0

Definition at line 80 of file AfrtConstants.h.

◆ DECI

const double DECI = 0.1

Definition at line 162 of file AfrtConstants.h.

◆ deflateLevel

const int deflateLevel = 5

Definition at line 41 of file AfrtConstants.h.

◆ DEG2ARCSEC

const double DEG2ARCSEC = 3600.0L

Definition at line 94 of file AfrtConstants.h.

◆ DEG2RAD

const double DEG2RAD = M_PI/180.0L

Definition at line 88 of file AfrtConstants.h.

◆ DEG_IN_HOUR

const double DEG_IN_HOUR = 15.0e+0

Definition at line 146 of file AfrtConstants.h.

◆ DEKA

const double DEKA = 10.0

Definition at line 163 of file AfrtConstants.h.

◆ DETIC2CENTRIC

const double DETIC2CENTRIC = 9.93305620009859e-1

Definition at line 133 of file AfrtConstants.h.

◆ DRYGAS

const float DRYGAS = 287.05

Definition at line 97 of file AfrtConstants.h.

◆ EARTH_GRAV_mu

const double EARTH_GRAV_mu = 3.986005000e+14

Definition at line 130 of file AfrtConstants.h.

◆ EARTH_RADIUS_METERS

const double EARTH_RADIUS_METERS = 6371007.181

Definition at line 109 of file AfrtConstants.h.

◆ ECCEN_SQ

const double ECCEN_SQ = 6.69437999014132e-3

Definition at line 119 of file AfrtConstants.h.

◆ EQUAT_RAD

const double EQUAT_RAD = 6.37813700000000e+6

Definition at line 117 of file AfrtConstants.h.

◆ FLATFAC

const double FLATFAC = 3.35281066474748071e-3

Definition at line 120 of file AfrtConstants.h.

◆ GAS

const double GAS = 621.97

Definition at line 154 of file AfrtConstants.h.

◆ GRAVITY

const double GRAVITY = 9.80665

Definition at line 103 of file AfrtConstants.h.

◆ HECTO

const double HECTO = 100.0

Definition at line 164 of file AfrtConstants.h.

◆ JAN012030

const double JAN012030 = 2.272147232e+09

Definition at line 144 of file AfrtConstants.h.

◆ MICRO

const double MICRO = 0.000001

Definition at line 159 of file AfrtConstants.h.

◆ MILLI

const double MILLI = 0.001

Definition at line 160 of file AfrtConstants.h.

◆ MIN_IN_HOUR

const double MIN_IN_HOUR = 60.0e+0

Definition at line 139 of file AfrtConstants.h.

◆ MINUS30

const double MINUS30 = -0.523598775598299e0

Definition at line 149 of file AfrtConstants.h.

◆ MJD_CONV_FAC

const double MJD_CONV_FAC = 2.4000005e+6

Definition at line 141 of file AfrtConstants.h.

◆ MOIST_AIR_LAPSE_RATE

const double MOIST_AIR_LAPSE_RATE = 6.5/1000

Definition at line 178 of file AfrtConstants.h.

◆ PIO2

const double PIO2 = M_PI_2

Definition at line 82 of file AfrtConstants.h.

◆ PIO4

const double PIO4 = M_PI_4

Definition at line 83 of file AfrtConstants.h.

◆ PLUS30

const double PLUS30 = 0.523598775598299e0

Definition at line 150 of file AfrtConstants.h.

◆ POLAR_RAD

const double POLAR_RAD = 6.35675231424518e+6

Definition at line 118 of file AfrtConstants.h.

◆ PRESS_CONV

const float PRESS_CONV = 1.0 / 101325.0

Definition at line 171 of file AfrtConstants.h.

◆ R2D

const double R2D = 180.0/M_PI

Definition at line 81 of file AfrtConstants.h.

◆ RAD2DEG

const double RAD2DEG = 180.0L/M_PI

Definition at line 91 of file AfrtConstants.h.

◆ RT_FAIL

const int RT_FAIL = 1

Definition at line 35 of file AfrtConstants.h.

◆ RT_SUCCESS

const int RT_SUCCESS = 0

Definition at line 34 of file AfrtConstants.h.

◆ SEC_IN_DAY

const double SEC_IN_DAY = 8.64e+04

Definition at line 142 of file AfrtConstants.h.

◆ SEC_IN_HOUR

const double SEC_IN_HOUR = 3600.0e+0

Definition at line 140 of file AfrtConstants.h.

◆ STDPSL

const double STDPSL =1013.0

Definition at line 174 of file AfrtConstants.h.

◆ TAI2IET

const double TAI2IET = 1.0e+06

Definition at line 138 of file AfrtConstants.h.

◆ TCOEFF

const double TCOEFF =273.15

Definition at line 167 of file AfrtConstants.h.

◆ TJD_CONV_FAC

const double TJD_CONV_FAC = 32.184e+0

Definition at line 145 of file AfrtConstants.h.

◆ TREPIO2

const double TREPIO2 = 3.0L*M_PI/2.0L

Definition at line 84 of file AfrtConstants.h.

◆ TWOPI

const double TWOPI = 2.0L*M_PI

Definition at line 85 of file AfrtConstants.h.

◆ UJD58

const double UJD58 = 2.43620450e+06

Definition at line 143 of file AfrtConstants.h.