4.7.1.2. meteo_si.density¶
4.7.1.2.1. Module Contents¶
4.7.1.2.1.1. Functions¶
|
Compute the arithmetic circular mean, ignoring NaNs. |
|
Compute the arithmetic circular mean, ignoring NaNs. |
- moist_rho_rh(p, T, rh, qm=0)[source]¶
Compute the arithmetic circular mean, ignoring NaNs.
- Parameters
p – Pressure in Pa
T – Temperature in K
rh – Relative humidity in Pa/Pa
qm (optional) – sum of mixing ratios in kg/kg of other species which contribute to the air mass! (ice, snow, cloud etc.)
- Returns
Density of moist air [kg/m^3]
- Return type
Example
moist_rho_rh(p,T,rh,q_ice,q_snow,q_rain,q_cloud,q_graupel,q_hail)
- moist_rho_q(p, T, q, qm=0)[source]¶
Compute the arithmetic circular mean, ignoring NaNs.
- Parameters
p – Pressure in Pa
T – Temperature in K
q – specific humidity in kg/kg
qm (optional) – sum of mixing ratios in kg/kg of other species which contribute to the air mass! (ice, snow, cloud etc.)
- Returns
Density of moist air [kg/m^3]
- Return type
Example
moist_rho_q(p,T,q,q_ice,q_snow,q_rain,q_cloud,q_graupel,q_hail)