Skip to content

eta

HybridPressureCoefficients dataclass

Attributes:

Name Type Description
ks int

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 int

The pressure at the top of the atmosphere

ak ndarray

The additive coefficient in the pressure calculation

bk ndarray

The multiplicative coefficient in the pressure calculation

compute_eta(ak, bk)

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

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