atmqty: Summary of Procedural Functions

These functions are found in modules of the same name. Thus, the theta function is in the module theta in this package. All positional inputs, unless otherwise stated, are Numeric arrays of any shape and size. Keyword inputs are shown with their default value. Output units are given in the "Description" column.

Some argument abbreviations:
  • esat: Saturation vapor pressure over water [hPa]
  • p: Pressure [hPa]
  • q: Specific humidity [kg/kg]
  • r: Mixing ratio [kg/kg]
  • RH: Relative humidity [unitless fraction]
  • T: Temperature [K]

Function Arguments Description
eice T, missing=None Calculate saturation vapor pressure over ice [hPa].
esat T, missing=None Calculate saturation vapor pressure over water [hPa].
theta p, T, p0=1000.0, missing=None Calculate potential temperature [K]. Keyword parameter p0 is the reference pressure [hPa].
vapor_press qty, missing=None Calculate vapor pressure [hPa]. Input qty is a dictionary of atmospheric quantities. Keys that can be used by function include: 'esat', 'p', 'q', 'r', and 'RH'. Values corresponding to those keys are Numeric arrays of those quantities.
virt_temp r, T, missing=None Calculate virtual temperature [K].


Return to atmqty Index.
Return to Johnny Lin's Python Library.

Updated: November 19, 2003 by Johnny Lin <email me>. License.