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 (
ArrayLike) – Geometric height with respect to the sea level (m)R_earth (
float) – Average radius of the Earth (m)
- Returns:
Geopotential height (m)
- Return type:
ArrayLike
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
earthkit.meteo.constants.R_earth)