profile_highlat_summer#
- pycraf.atm.profile_highlat_summer(height)[source]#
High latitude summer height profiles according to ITU-R P.835-5.
Valid for geographic latitudes \(\vert \phi\vert > 45^\circ\).
- Parameters:
- height
Quantity
Height above ground [km]
- height
- Returns:
- temperature
Quantity
Temperature [K]
- pressure
Quantity
Total pressure [hPa]
- rho_water
Quantity
Water vapor density [g / m**3]
- pressure_water
Quantity
Water vapor partial pressure [hPa]
- ref_index
Quantity
Refractive index [dimless]
- humidity_water
Quantity
Relative humidity if water vapor was in form of liquid water [%]
- humidity_ice
Quantity
Relative humidity if water vapor was in form of ice [%]
- temperature
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_highlat_summer(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: 286.8 K 1008.0 hPa 10 km: 225.0 K 269.6 hPa 20 km: 225.0 K 62.0 hPa 30 km: 238.5 K 14.3 hPa 40 km: 259.2 K 3.3 hPa 50 km: 277.0 K 0.8 hPa 60 km: 248.5 K 0.2 hPa 70 km: 207.7 K 0.0 hPa 80 km: 171.0 K 0.0 hPa