pyrt.conrath#

pyrt.conrath(altitude, q0, scale_height, nu)[source]#

Construct a Conrath profile.

Parameters:
  • altitude (np.ndarray) – The altitudes [m] at which to construct the profile.

  • q0 (float) – The surface volumetric mixing ratio.

  • scale_height (np.ndarray) – The atmospheric scale height [m] at each altitude.

  • nu (float) – The nu parameter.

Returns:

The Conrath profile at each altitude.

Return type:

np.ndarray

Examples

Construct a Conrath profile from a set of input parameters.

>>> import numpy as np
>>> import pyrt
>>> altitude = np.linspace(100000, 0, num=15)
>>> profile = conrath(altitude, 1, 10000, 0.1)
>>> profile.shape
(15,)