earthkit.meteo.vertical.array.geopotential_from_geometric_height¶
- earthkit.meteo.vertical.array.geopotential_from_geometric_height(h, R_earth=constants.R_earth)¶
Compute the geopotential 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 (m2/s2)
- Return type:
ArrayLike
The computation is based on the following formula:
\[z = \frac{h g R_{earth}}{R_{earth} + h}\]where
\(R_{earth}\) is the average radius of the Earth (see
earthkit.meteo.constants.R_earth)\(g\) is the gravitational acceleration on the surface of the Earth (see
earthkit.meteo.constants.g)