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 (
array-like) – Geometric height with respect to the sea level (m)R_earth (
float, optional) – Average radius of the Earth (m)
- Returns:
Geopotential (m2/s2)
- Return type:
array-like
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
meteo.constants.R_earth)\(g\) is the gravitational acceleration on the surface of the Earth (see
meteo.constants.g)