earthkit.meteo.vertical.array.geopotential_height_from_geometric_height
- earthkit.meteo.vertical.array.geopotential_height_from_geometric_height(h, R_earth=constants.R_earth)
Compute the geopotential height from geometric height.
- Parameters:
h (
array-like) – Geometric height with respect to the sea level (m)R_earth (
float, optional) – Average radius of the Earth (m)
- Returns:
Geopotential height (m)
- Return type:
array-like
The computation is based on the following formula:
\[gh = \frac{h\; R_{earth}}{R_{earth} + h}\]where \(R_{earth}\) is the average radius of the Earth (see
meteo.constants.R_earth)