OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
TmConstants.h File Reference
#include <math.h>
#include <boost/multi_array.hpp>
Include dependency graph for TmConstants.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 > double_1darray
 
typedef boost::multi_array< float, 1 > float_1darray
 
typedef boost::multi_array< short, 1 > short_1darray
 
typedef boost::multi_array< double, 2 > double_2darray
 
typedef boost::multi_array< float, 2 > float_2darray
 
typedef boost::multi_array< short, 2 > short_2darray
 
typedef boost::multi_array< double, 3 > double_3darray
 
typedef boost::multi_array< float, 3 > float_3darray
 
typedef boost::multi_array< short, 3 > short_3darray
 
typedef boost::multi_array< double, 4 > double_4darray
 
typedef boost::multi_array< float, 4 > float_4darray
 
typedef boost::multi_array< short, 4 > short_4darray
 
typedef boost::multi_array< double, 5 > double_5darray
 
typedef boost::multi_array< float, 5 > float_5darray
 
typedef boost::multi_array< short, 5 > short_5darray
 
typedef boost::multi_array< double, 6 > double_6darray
 
typedef boost::multi_array< float, 6 > float_6darray
 
typedef boost::multi_array< short, 6 > short_6darray
 
typedef boost::multi_array< double, 7 > double_7darray
 
typedef boost::multi_array< float, 7 > float_7darray
 
typedef boost::multi_array< short, 7 > short_7darray
 
typedef boost::multi_array< double, 8 > double_8darray
 
typedef boost::multi_array< float, 8 > float_8darray
 
typedef boost::multi_array< short, 8 > short_8darray
 

Enumerations

enum  SEASON_ENUM {
  WINTER, SPRING, SUMMER, FALL,
  NEVER, WINTER, SPRING, SUMMER,
  FALL, NEVER
}
 
enum  PROJECT_ENUM {
  MODIS, VIIRS, PACE, NOTHING,
  MODIS, VIIRS, PACE, NOTHING
}
 

Variables

const int TM_SUCCESS = 0
 
const int TM_FAIL = 1
 
const bool bShuffleFilter = true
 
const bool bDeflateFilter = true
 
const int deflateLevel = 5
 
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 TmConstants.h.

◆ NUM_SEASONS

#define NUM_SEASONS   4

Definition at line 45 of file TmConstants.h.

Typedef Documentation

◆ double_1darray

typedef boost::multi_array<double, 1> double_1darray

Definition at line 16 of file TmConstants.h.

◆ double_2darray

typedef boost::multi_array<double, 2> double_2darray

Definition at line 19 of file TmConstants.h.

◆ double_3darray

typedef boost::multi_array<double, 3> double_3darray

Definition at line 22 of file TmConstants.h.

◆ double_4darray

typedef boost::multi_array<double, 4> double_4darray

Definition at line 25 of file TmConstants.h.

◆ double_5darray

typedef boost::multi_array<double, 5> double_5darray

Definition at line 28 of file TmConstants.h.

◆ double_6darray

typedef boost::multi_array<double, 6> double_6darray

Definition at line 31 of file TmConstants.h.

◆ double_7darray

typedef boost::multi_array<double, 7> double_7darray

Definition at line 34 of file TmConstants.h.

◆ double_8darray

typedef boost::multi_array<double, 8> double_8darray

Definition at line 37 of file TmConstants.h.

◆ float_1darray

typedef boost::multi_array<float, 1> float_1darray

Definition at line 17 of file TmConstants.h.

◆ float_2darray

typedef boost::multi_array<float, 2> float_2darray

Definition at line 20 of file TmConstants.h.

◆ float_3darray

typedef boost::multi_array<float, 3> float_3darray

Definition at line 23 of file TmConstants.h.

◆ float_4darray

typedef boost::multi_array<float, 4> float_4darray

Definition at line 26 of file TmConstants.h.

◆ float_5darray

typedef boost::multi_array<float, 5> float_5darray

Definition at line 29 of file TmConstants.h.

◆ float_6darray

typedef boost::multi_array<float, 6> float_6darray

Definition at line 32 of file TmConstants.h.

◆ float_7darray

typedef boost::multi_array<float, 7> float_7darray

Definition at line 35 of file TmConstants.h.

◆ float_8darray

typedef boost::multi_array<float, 8> float_8darray

Definition at line 38 of file TmConstants.h.

◆ short_1darray

typedef boost::multi_array<short, 1> short_1darray

Definition at line 18 of file TmConstants.h.

◆ short_2darray

typedef boost::multi_array<short, 2> short_2darray

Definition at line 21 of file TmConstants.h.

◆ short_3darray

typedef boost::multi_array<short, 3> short_3darray

Definition at line 24 of file TmConstants.h.

◆ short_4darray

typedef boost::multi_array<short, 4> short_4darray

Definition at line 27 of file TmConstants.h.

◆ short_5darray

typedef boost::multi_array<short, 5> short_5darray

Definition at line 30 of file TmConstants.h.

◆ short_6darray

typedef boost::multi_array<short, 6> short_6darray

Definition at line 33 of file TmConstants.h.

◆ short_7darray

typedef boost::multi_array<short, 7> short_7darray

Definition at line 36 of file TmConstants.h.

◆ short_8darray

typedef boost::multi_array<short, 8> short_8darray

Definition at line 39 of file TmConstants.h.

Enumeration Type Documentation

◆ PROJECT_ENUM

Enumerator
MODIS 
VIIRS 
PACE 
NOTHING 
MODIS 
VIIRS 
PACE 
NOTHING 

Definition at line 67 of file TmConstants.h.

◆ SEASON_ENUM

Enumerator
WINTER 
SPRING 
SUMMER 
FALL 
NEVER 
WINTER 
SPRING 
SUMMER 
FALL 
NEVER 

Definition at line 58 of file TmConstants.h.

Variable Documentation

◆ AVG_PRESS_SEALVL

const double AVG_PRESS_SEALVL = 1013.25e0

Definition at line 102 of file TmConstants.h.

◆ bDeflateFilter

const bool bDeflateFilter = true

Definition at line 53 of file TmConstants.h.

◆ bShuffleFilter

const bool bShuffleFilter = true

Definition at line 52 of file TmConstants.h.

◆ CENTI

const double CENTI = 0.01

Definition at line 163 of file TmConstants.h.

◆ CENTRIC2DETIC

const double CENTRIC2DETIC = 1.00673949674228e+0

Definition at line 136 of file TmConstants.h.

◆ DECI

const double DECI = 0.1

Definition at line 164 of file TmConstants.h.

◆ deflateLevel

const int deflateLevel = 5

Definition at line 54 of file TmConstants.h.

◆ DEG2ARCSEC

const double DEG2ARCSEC = 3600.0L

Definition at line 96 of file TmConstants.h.

◆ DEG2RAD

const double DEG2RAD = M_PI/180.0L

Definition at line 90 of file TmConstants.h.

◆ DEG_IN_HOUR

const double DEG_IN_HOUR = 15.0e+0

Definition at line 148 of file TmConstants.h.

◆ DEKA

const double DEKA = 10.0

Definition at line 165 of file TmConstants.h.

◆ DETIC2CENTRIC

const double DETIC2CENTRIC = 9.93305620009859e-1

Definition at line 135 of file TmConstants.h.

◆ DRYGAS

const float DRYGAS = 287.05

Definition at line 99 of file TmConstants.h.

◆ EARTH_GRAV_mu

const double EARTH_GRAV_mu = 3.986005000e+14

Definition at line 132 of file TmConstants.h.

◆ EARTH_RADIUS_METERS

const double EARTH_RADIUS_METERS = 6371007.181

Definition at line 111 of file TmConstants.h.

◆ ECCEN_SQ

const double ECCEN_SQ = 6.69437999014132e-3

Definition at line 121 of file TmConstants.h.

◆ EQUAT_RAD

const double EQUAT_RAD = 6.37813700000000e+6

Definition at line 119 of file TmConstants.h.

◆ FLATFAC

const double FLATFAC = 3.35281066474748071e-3

Definition at line 122 of file TmConstants.h.

◆ GAS

const double GAS = 621.97

Definition at line 156 of file TmConstants.h.

◆ GRAVITY

const double GRAVITY = 9.80665

Definition at line 105 of file TmConstants.h.

◆ HECTO

const double HECTO = 100.0

Definition at line 166 of file TmConstants.h.

◆ JAN012030

const double JAN012030 = 2.272147232e+09

Definition at line 146 of file TmConstants.h.

◆ MICRO

const double MICRO = 0.000001

Definition at line 161 of file TmConstants.h.

◆ MILLI

const double MILLI = 0.001

Definition at line 162 of file TmConstants.h.

◆ MIN_IN_HOUR

const double MIN_IN_HOUR = 60.0e+0

Definition at line 141 of file TmConstants.h.

◆ MINUS30

const double MINUS30 = -0.523598775598299e0

Definition at line 151 of file TmConstants.h.

◆ MJD_CONV_FAC

const double MJD_CONV_FAC = 2.4000005e+6

Definition at line 143 of file TmConstants.h.

◆ MOIST_AIR_LAPSE_RATE

const double MOIST_AIR_LAPSE_RATE = 6.5/1000

Definition at line 180 of file TmConstants.h.

◆ PIO2

const double PIO2 = M_PI_2

Definition at line 84 of file TmConstants.h.

◆ PIO4

const double PIO4 = M_PI_4

Definition at line 85 of file TmConstants.h.

◆ PLUS30

const double PLUS30 = 0.523598775598299e0

Definition at line 152 of file TmConstants.h.

◆ POLAR_RAD

const double POLAR_RAD = 6.35675231424518e+6

Definition at line 120 of file TmConstants.h.

◆ PRESS_CONV

const float PRESS_CONV = 1.0 / 101325.0

Definition at line 173 of file TmConstants.h.

◆ RAD2DEG

const double RAD2DEG = 180.0L/M_PI

Definition at line 93 of file TmConstants.h.

◆ SEC_IN_DAY

const double SEC_IN_DAY = 8.64e+04

Definition at line 144 of file TmConstants.h.

◆ SEC_IN_HOUR

const double SEC_IN_HOUR = 3600.0e+0

Definition at line 142 of file TmConstants.h.

◆ STDPSL

const double STDPSL =1013.0

Definition at line 176 of file TmConstants.h.

◆ TAI2IET

const double TAI2IET = 1.0e+06

Definition at line 140 of file TmConstants.h.

◆ TCOEFF

const double TCOEFF =273.15

Definition at line 169 of file TmConstants.h.

◆ TJD_CONV_FAC

const double TJD_CONV_FAC = 32.184e+0

Definition at line 147 of file TmConstants.h.

◆ TM_FAIL

const int TM_FAIL = 1

Definition at line 48 of file TmConstants.h.

◆ TM_SUCCESS

const int TM_SUCCESS = 0

Definition at line 47 of file TmConstants.h.

◆ TREPIO2

const double TREPIO2 = 3.0L*M_PI/2.0L

Definition at line 86 of file TmConstants.h.

◆ TWOPI

const double TWOPI = 2.0L*M_PI

Definition at line 87 of file TmConstants.h.

◆ UJD58

const double UJD58 = 2.43620450e+06

Definition at line 145 of file TmConstants.h.