Registry / data / earthkit-meteo

earthkit-meteo

JSON →
library0.6.2pypypi✓ verified 87d ago

Meteorological computations library developed by ECMWF. Provides unit conversion, thermodynamics, and diagnostics for weather and climate data. Current stable version is 0.6.2, with release candidate 1.0.0rc1 available. Active development with frequent releases.

pip install earthkit-meteo
INSTALL
IMPORT
SIG · EARTHKIT-METEO
E
earthkit-meteo
datapythonv0.6.2
Install
4.2s avg
Import
19ms
Disk
95MB
Pass rate
8/ 10
Env Coverage8 / 10
glibc
3.9–3.13
musl
3.9–3.13
Install & Compatibility
Where this runs
tested against v1.0.0rc1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
glibc
py 3.10
✓ —
✓ 4.2s
py 3.11
✓ —
✓ 4.35s
py 3.12
✓ —
✓ 4.05s
py 3.13
✓ —
✓ 4.15s
py 3.9
1/2 runs
1/2 runs
95MB installed
● package 95MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

earthkit.meteo
✓ import earthkit.meteo as em
✗ from earthkit import meteo
earthkit-meteo is a namespace package; import as earthkit.meteo
unitis
✓ from earthkit.meteo import unitis
✗ import unitis
unitis is a submodule inside earthkit.meteo
thermo
✓ from earthkit.meteo import thermo
✗ import thermo
thermo is a submodule inside earthkit.meteo

Basic usage: unit conversion and dewpoint calculation.

import earthkit.meteo as em # Temperature unit conversion temp_k = 300.15 temp_c = em.unitis.convert(temp_k, 'K', 'degC') print(f"{temp_k} K = {temp_c:.2f} °C") # Compute dewpoint using Magnus formula import numpy as np t = np.array([20.0, 25.0, 30.0]) rh = np.array([50.0, 60.0, 70.0]) td = em.thermo.dewpoint_magnus(t, rh) print(td)
earthkit-meteo --version
Debug
Known issues
gotchaThe library uses namespace packages; import as `import earthkit.meteo as em`, not `from earthkit import meteo`.
fix
Use `import earthkit.meteo` or `from earthkit.meteo import ...`
affects: all
deprecatedSome functions from v0.x are deprecated in 1.0.0rc, like `em.unitis.convert` may be replaced by a new API.
fix
Check changelog and use new function names (e.g., `em.unitis.convert_temperature`)
affects: >=1.0.0rc
breakingAPI signatures for thermodynamics functions may change between 0.6.x and 1.0.0rc (e.g., parameter order).
fix
Refer to the latest documentation for function arguments.
affects: >=1.0.0rc
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'earthkit.meteo'
Installed only 'earthkit' base package, not 'earthkit-meteo'.
fix
Run `pip install earthkit-meteo`
AttributeError: module 'earthkit' has no attribute 'meteo'
Namespace package not imported correctly. Commonly due to incorrect import statement.
fix
Use `import earthkit.meteo as em` instead of `import earthkit`
TypeError: convert() got an unexpected keyword argument 'from_unit'
Changed function signature in version 1.0.0rc: `convert(value, source_unit, target_unit)` became `convert(value, from_unit, to_unit)` or similar.
fix
Check latest docs; adjust keyword arguments accordingly.
Upgrade
Version history
0.6.2latest on PyPI · released Mar 31, 2026
Audit
Dependencies
numpyrequiredCore dependency for numerical computations.
scipyoptionalUsed for advanced mathematical functions.
Agent activity
18 hits · last 30 days
node
16
OpenAI (training)
2
Resources
earthkit-meteo — pip install earthkit-meteo · libregistry