pymeteo
pymeteo is a set of pointwise meteorological calculations on NumPy arrays.
It does not read files, plot maps, or wrap a full sounding object. You pass scalars or arrays in and get scalars or arrays back.
Install
pip install pymeteo-kit
import pymeteo as pm
Python 3.7+. The import name is pymeteo.
Example
import pymeteo as pm
td = pm.dewpoint_from_relative_humidity(18.0, 46.5)
# about 6.3 °C
Units are strings on the call (temperature_unit="C"). Defaults live in each function’s docstring.
Pages
- Thermo — vapour, θ, LCL, wet-bulb
- Indices — Showalter, K, TT, SWEAT, lifted index
- Wind — speed, from-direction, u/v, bulk shear
- Geo — great-circle distance, gravity, sea-level pressure
- Comfort — heat index, wind chill
- Dynamics — Coriolis, ω ↔ w
- Units — aliases and
UnitError - NCL — NCL names with NCL’s unit conventions
- Install
中文:首页