earthkit.meteo.vertical.array.geopotential_height_from_geometric_height ======================================================================= .. py:function:: earthkit.meteo.vertical.array.geopotential_height_from_geometric_height(h, R_earth=constants.R_earth) Compute the geopotential height 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 height (m) :rtype: :class:`array-like` The computation is based on the following formula: .. math:: gh = \frac{h\; R_{earth}}{R_{earth} + h} where :math:`R_{earth}` is the average radius of the Earth (see :py:attr:`meteo.constants.R_earth`)