easyclimate.core.diagnosis#
Functions for Weather and climate variable diagnosis.
See also
Stull, R. (2011): Meteorology for Scientists and Engineers. 3rd ed. Discount Textbooks, 924 pp. [Available online at https://www.eoas.ubc.ca/books/Practical_Meteorology/, https://www.eoas.ubc.ca/courses/atsc201/MSE3.html]
Functions
|
Calculation of the Brunt-väisälä frequency for the vertical atmosphere. |
|
Calculate the ambient dewpoint given the vapor pressure. |
Calculate equivalent potential temperature using Bolton (1980) approximation. |
|
Calculate equivalent potential temperature using Robert Davies-Jones (2009) approximation. |
|
Calculate lifting condensation level using Bohren & Albrecht (2023) approximation. |
|
Calculate lifting condensation level using Bolton (1980) approximation. |
|
|
Calculate the mixing ratio of a gas. |
Calculate moist adiabatic lapse rate. |
|
|
Calculate the potential temperature for dry air. |
|
Calculate the potential temperature for vertical variables. |
Calculate the saturation mixing ratio of water vapor. |
|
Calculate the saturation water vapor (partial) pressure. |
|
|
Calculate the static stability within a vertical profile. |
|
Parameters pressure_data: xarray.DataArray. The pressure data set. mixing_ratio_data: xarray.DataArray. The mixing ratio of a gas. epsilon: float. The molecular weight ratio, which is molecular weight of the constituent gas to that assumed for air. Defaults to the ratio for water vapor to dry air. (epsilon approx 0.622) pressure_data_units: str. The unit corresponding to pressure_data value. Optional values are hPa, Pa. |
|
Calculate virtual temperature. |
|
Calculate virtual temperature. |
Calculate wet-bulb potential temperature using Robert Davies-Jones (2008) approximation. |
|
Calculate wet-bulb potential temperature using iteration. |
|
Calculate wet-bulb temperature using Sadeghi et. |
|
Calculate wet-bulb temperature using Stull (2011) empirical formula. |
|
|
Calculate the Coriolis parameter at each point. |
Calculate the mixing ratio from the dewpoint temperature and pressure. |
|
Calculate the relative humidity from dewpoint. |
|
Calculate the specific humidity from the dewpoint temperature and pressure. |
|
Calculate the relative humidity from mixing ratio, temperature, and pressure. |
|
Calculate the specific humidity from mixing ratio. |
|
|
Calculate the dewpoint from specific humidity and pressure. |
Calculate the mixing ratio from specific humidity. |
|
Calculate the relative humidity from specific humidity, temperature, and pressure. |