profile_lowlat#

pycraf.atm.profile_lowlat(height)[source]#

Low latitude height profiles according to ITU-R P.835-5.

Valid for geographic latitudes \(\vert \phi\vert < 22^\circ\).

Parameters:
heightQuantity

Height above ground [km]

Returns:
temperatureQuantity

Temperature [K]

pressureQuantity

Total pressure [hPa]

rho_waterQuantity

Water vapor density [g / m**3]

pressure_waterQuantity

Water vapor partial pressure [hPa]

ref_indexQuantity

Refractive index [dimless]

humidity_waterQuantity

Relative humidity if water vapor was in form of liquid water [%]

humidity_iceQuantity

Relative humidity if water vapor was in form of ice [%]

Notes

For convenience, derived quantities like water density/pressure and refraction indices are also returned.

The return value is actually a namedtuple, so it is possible to do the following:

>>> import numpy as np
>>> from pycraf import atm
>>> from astropy import units as u

>>> heights = np.linspace(0, 80, 9) * u.km
>>> aprof = atm.profile_lowlat(heights)
>>> for height, temp, press in zip(
...         heights, aprof.temperature, aprof.pressure
...         ):
...     print('{:2.0f}: {:5.1f} {:6.1f}'.format(height, temp, press))
 0 km: 300.4 K 1012.0 hPa
10 km: 237.5 K  284.9 hPa
20 km: 201.6 K   65.5 hPa
30 km: 226.9 K   15.1 hPa
40 km: 252.3 K    3.5 hPa
50 km: 270.0 K    0.8 hPa
60 km: 245.4 K    0.2 hPa
70 km: 214.7 K    0.0 hPa
80 km: 184.0 K    0.0 hPa