meteodatalab.operators.hzerocl

Algorithm for computation of height of zero degree isotherm.

Functions

fhzerocl(t, hhl[, extrapolate])

Height of the zero deg C isotherm in m amsl.

meteodatalab.operators.hzerocl.fhzerocl(t: DataArray, hhl: DataArray, extrapolate: bool = False) DataArray[source]

Height of the zero deg C isotherm in m amsl.

The algorithm searches from the top of the atmosphere downwards. When extrapolation is enabled, the search may extend past the lowest layers of the model by means of a linear model. The resulting height may be below the surface of the earth.

Parameters:
  • t (xr.DataArray) – Air temperature in K.

  • hhl (xr.DataArray) – Heights of the interfaces between vertical layers in m amsl.

  • extrapolate (bool, optional) – Allow the extrapolation of the search below the lowest model layer. Defaults to False.

Returns:

Height of the zero deg C isotherm in m amsl.

Return type:

xr.DataArray