earthkit.meteo.vertical.array.geometric_height_from_geopotential ================================================================ .. py:function:: earthkit.meteo.vertical.array.geometric_height_from_geopotential(z, R_earth=constants.R_earth) Compute the geometric height from geopotential. :param z: Geopotential (m2/s2) :type z: :class:`array-like` :param R_earth: Average radius of the Earth (m) :type R_earth: :class:`float`, *optional* :returns: Geometric height (m) :rtype: :class:`array-like` The computation is based on the following formula: .. math:: h = \frac{R_{earth} \frac{z}{g}}{R_{earth} - \frac{z}{g}} 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`)