earthkit.meteo.vertical.array.geopotential_from_geometric_height ================================================================ .. py:function:: earthkit.meteo.vertical.array.geopotential_from_geometric_height(h, R_earth=constants.R_earth) Compute the geopotential from geometric height. :param h: Geometric height with respect to the sea level (m) :type h: :class:`array-like` :param R_earth: Average radius of the Earth (m) :type R_earth: :class:`float`, *optional* :returns: Geopotential (m2/s2) :rtype: :class:`array-like` The computation is based on the following formula: .. math:: z = \frac{h\; g\; R_{earth}}{R_{earth} + h} where * :math:`R_{earth}` is the average radius of the Earth (see :py:attr:`meteo.constants.R_earth`) * :math:`g` is the gravitational acceleration on the surface of the Earth (see :py:attr:`meteo.constants.g`)