constants
CONST_VERSION = ConstantVersions[_get_constant_version()]
module-attribute
I_DIM = 'i'
module-attribute
I_INTERFACE_DIM = 'i_interface'
module-attribute
J_DIM = 'j'
module-attribute
J_INTERFACE_DIM = 'j_interface'
module-attribute
K_DIM = 'k'
module-attribute
K_INTERFACE_DIM = 'k_interface'
module-attribute
K_SOIL_DIM = 'k_soil'
module-attribute
I_DIMS = (I_DIM, I_INTERFACE_DIM)
module-attribute
J_DIMS = (J_DIM, J_INTERFACE_DIM)
module-attribute
K_DIMS = (K_DIM, K_INTERFACE_DIM)
module-attribute
HORIZONTAL_DIMS = I_DIMS + J_DIMS
module-attribute
INTERFACE_DIMS = (I_INTERFACE_DIM, J_INTERFACE_DIM, K_INTERFACE_DIM)
module-attribute
SPATIAL_DIMS = I_DIMS + J_DIMS + K_DIMS
module-attribute
ROOT_RANK = 0
module-attribute
TILE_DIM = 'tile'
module-attribute
WEST = 0
module-attribute
EAST = 1
module-attribute
NORTH = 2
module-attribute
SOUTH = 3
module-attribute
NORTHWEST = 4
module-attribute
NORTHEAST = 5
module-attribute
SOUTHWEST = 6
module-attribute
SOUTHEAST = 7
module-attribute
INTERIOR = 8
module-attribute
EDGE_BOUNDARY_TYPES = (NORTH, SOUTH, WEST, EAST)
module-attribute
CORNER_BOUNDARY_TYPES = (NORTHWEST, NORTHEAST, SOUTHWEST, SOUTHEAST)
module-attribute
BOUNDARY_TYPES = EDGE_BOUNDARY_TYPES + CORNER_BOUNDARY_TYPES
module-attribute
N_HALO_DEFAULT = 3
module-attribute
NQ = 9
module-attribute
RADIUS = Float(6371000.0)
module-attribute
Radius of the Earth [m]
PI_8 = np.float64(3.141592653589793)
module-attribute
PI = Float(PI_8)
module-attribute
OMEGA = Float(2.0) * PI / Float(86164.0)
module-attribute
Rotation of the earth
GRAV = Float(9.80665)
module-attribute
Acceleration due to gravity [m/s^2].04
RGRAV = Float(1.0) / GRAV
module-attribute
Inverse of gravitational acceleration
RDGAS = Float(8314.47) / Float(28.965)
module-attribute
Gas constant for dry air [J/kg/deg] ~287.04
RVGAS = Float(8314.47) / Float(18.015)
module-attribute
Gas constant for water vapor [J/kg/deg]
HLV = Float(2466500.0)
module-attribute
Latent heat of evaporation [J/kg]
HLF = Float(333700.0)
module-attribute
Latent heat of fusion [J/kg] ~3.34e5
KAPPA = RDGAS / (Float(3.5) * RDGAS)
module-attribute
Specific heat capacity of dry air at
CP_AIR = RDGAS / KAPPA
module-attribute
TFREEZE = Float(273.16)
module-attribute
Freezing temperature of fresh water [K]
SAT_ADJUST_THRESHOLD = Float(1e-06)
module-attribute
DZ_MIN = Float(6.0)
module-attribute
SECONDS_PER_DAY = Float(86400.0)
module-attribute
SBC = Float(5.6704e-08)
module-attribute
Stefan-Boltzmann constant (W/m^2/K^4)
RHO_H2O = Float(1000.0)
module-attribute
Density of water in kg/m^3
CV_AIR = CP_AIR - RDGAS
module-attribute
Heat capacity of dry air at constant volume
RDG = -RDGAS / GRAV
module-attribute
K1K = RDGAS / CV_AIR
module-attribute
CNST_0P20 = np.float64(0.2)
module-attribute
CV_VAP = Float(3.0) * RVGAS
module-attribute
Heat capacity of water vapor at constant volume
ZVIR = RVGAS / RDGAS - Float(1)
module-attribute
con_fvirt in Fortran physics
C_ICE = Float(1972.0)
module-attribute
Heat capacity of ice at -15 degrees Celsius
C_ICE_0 = Float(2106.0)
module-attribute
Heat capacity of ice at 0 degrees Celsius
C_LIQ = Float(4185.5)
module-attribute
Heat capacity of water at 15 degrees Celsius
CP_VAP = Float(4.0) * RVGAS
module-attribute
Heat capacity of water vapor at constant pressure
TICE = Float(273.16)
module-attribute
Freezing temperature
DC_ICE = C_LIQ - C_ICE
module-attribute
Isobaric heating / cooling
DC_VAP = CP_VAP - C_LIQ
module-attribute
Isobaric heating / cooling
D2ICE = DC_VAP + DC_ICE
module-attribute
Isobaric heating / cooling
LI0 = HLF - DC_ICE * TICE
module-attribute
EPS = RDGAS / RVGAS
module-attribute
EPSM1 = EPS - Float(1.0)
module-attribute
LV0 = HLV - DC_VAP * TICE
module-attribute
3.13905782e6, evaporation latent heat coefficient at 0 degrees Kelvin
LI00 = HLF - DC_ICE * TICE
module-attribute
-2.7105966e5, fusion latent heat coefficient at 0 degrees Kelvin
LI2 = LV0 + LI00
module-attribute
2.86799816e6, sublimation latent heat coefficient at 0 degrees Kelvin
E00 = Float(611.21)
module-attribute
Saturation vapor pressure at 0 degrees Celsius (Pa)
PSAT = Float(610.78)
module-attribute
Saturation vapor pressure at H2O 3pt (Pa)
T_WFR = TICE - Float(40.0)
module-attribute
homogeneous freezing temperature
TICE0 = Float(273.15)
module-attribute
Temp at 0C
T_MIN = Float(178.0)
module-attribute
Minimum temperature to freeze-dry all water vapor
T_SAT_MIN = TICE - Float(160.0)
module-attribute
Minimum temperature used in saturation calculations
LAT2 = np.power(HLV + HLF, 2, dtype=Float)
module-attribute
Used in bigg mechanism
TTP = Float(273.16)
module-attribute
Temperature of H2O triple point
ConstantVersions
Bases: Enum