pydropsonde.helper.physics

pydropsonde.helper.physics#

Functions

density(p, T, mr[, eps])

returns density for given pressure, temperature and R

integrate_water_vapor(p, q[, T, z, axis])

Returns the integrated water vapor for given specific humidity Args: p: pressure in Pa either: (hydrostatic) q: specific humidity or: (non-hydrostatic) q: specific humidity T: temperature z: height

mr2q(mr)

returns mixing ratio from specific humidity

q2mr(q)

returns specific humidity from mixing ratio

q2vmr(q)

returns the volume mixing ratio from specific humidity

theta2ta(theta, P[, qv, ql, qi])

Returns the temperature for an unsaturated moist fluid, given the potential temperature (reverse of Bjorn stevens moist thermodynamicts theta())

vmr2q(vmr)

returns specific humidity from volume mixing ratio