Extrapolate geopotential to a target pressure level.
Implements the algorithm described in [1]_. The algorithm extrapolates
geopotential from the surface to a target pressure level using a
polynomial expression of a dimensionless variable y, which is a function of
the surface temperature, surface pressure, and height. It assumes
a constant lapse rate of 0.0065 K m^-1 and dry air gas constant.
Parameters:
h_sfc (xr.DataArray) – Surface height [m].
t_sfc (xr.DataArray) – Surface temperature [K].
p_sfc (xr.DataArray) – Surface pressure [Pa].
p_target (float) – Target pressure level [Pa].
Returns:
Extrapolated geopotential at the target pressure level.
Currently, only the ‘constant’ extrapolation mode is implemented, where
the extrapolation is done by simply extending the values of the
lowermost model level to the target pressure level.
Parameters:
field (xr.DataArray) – Field to extrapolate.
p_target (float) – Target pressure level [Pa].
mode (str, optional) – Extrapolation mode. Currently only ‘constant’ is implemented.
Extrapolate temperature to a target pressure level.
Implements the algorithm described in [1]_. The algorithm extrapolates
temperature from the surface to a target pressure level using a
polynomial expression of a dimensionless variable y, which is a function of
the surface temperature, surface pressure, and height. It assumes
a constant lapse rate of 0.0065 K m^-1 and dry air gas constant.
Parameters:
t_sfc (xr.DataArray) – Surface temperature [K].
h_sfc (xr.DataArray) – Surface height [m].
p_sfc (xr.DataArray) – Surface pressure [Pa].
p_target (float) – Target pressure level [Pa].
Returns:
Extrapolated temperature at the target pressure level.