earthkit.meteo.vertical.xarray.geometric_height_from_geopotential_height

earthkit.meteo.vertical.xarray.geometric_height_from_geopotential_height(gh, R_earth=constants.R_earth)

Compute the geometric height from geopotential height.

Parameters:
  • gh (xr.DataArray) – Geopotential height (m)

  • R_earth (float) – Average radius of the Earth (m)

Returns:

Geometric height (m)

Return type:

xr.DataArray

The computation is based on the following formula:

\[h = \frac{R_{earth} gh}{R_{earth} - gh}\]

where \(R_{earth}\) is the average radius of the Earth (see earthkit.meteo.constants.R_earth)