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
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
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'earthkit.meteo'
Installed only 'earthkit' base package, not 'earthkit-meteo'.
fixRun `pip install earthkit-meteo`
AttributeError: module 'earthkit' has no attribute 'meteo'
Namespace package not imported correctly. Commonly due to incorrect import statement.
fixUse `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.
fixCheck 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.