earthkit.meteo.vertical.xarray.geopotential_height_from_geopotential

earthkit.meteo.vertical.xarray.geopotential_height_from_geopotential(z)

Compute geopotential height from geopotential.

Parameters:

z (xr.DataArray) – Geopotential (m2/s2)

Returns:

Geopotential height (m)

Return type:

xr.DataArray

The computation is based on the following definition:

\[gh = \frac{z}{g}\]

where \(g\) is the gravitational acceleration on the surface of the Earth (see earthkit.meteo.constants.g)