Skip to content

eta

ETA_0 = 0.252 module-attribute

SURFACE_PRESSURE = 100000.0 module-attribute

HybridPressureCoefficients dataclass

Attributes:

Name Type Description
- ks

The number of pure-pressure layers at the top of the model Also the level where model transitions from pure pressure to hybrid pressure levels

- ptop

The pressure at the top of the atmosphere

- ak

The additive coefficient in the pressure calculation

- bk

The multiplicative coefficient in the pressure calculation

ks instance-attribute

ptop instance-attribute

ak instance-attribute

bk instance-attribute

__init__(ks, ptop, ak, bk)

set_hybrid_pressure_coefficients(km, eta_file=None, ak_data=None, bk_data=None)

Sets the coefficients describing the hybrid pressure coordinates.

The pressure of each k-level is calculated as Pk = ak + (bk * Ps) where Ps is the surface pressure. Values are currently stored in lookup tables.

Parameters:

Name Type Description Default
km int

The number of vertical levels in the model

required

Returns:

Type Description
HybridPressureCoefficients

a HybridPressureCoefficients dataclass

vertical_coordinate(eta_value)

Equation (1) JRMS2006 computes eta_v, the auxiliary variable vertical coordinate

compute_eta(ak, bk)

Equation (1) JRMS2006 eta is the vertical coordinate and eta_v is an auxiliary vertical coordinate