Pluvium
Hour-by-hour rain forecasts for every town and village in the Caribbean, three days ahead. For each place Pluvium answers the questions people actually ask:
- will it rain, hour by hour, and is that drizzle, showers, steady rain, heavy rain or a thunderstorm?
- when will it most likely start, in local time and with a window, and when will it be heaviest?
- how long will it last, and how much will fall (median and a bad case)?
- is lightning active nearby right now, and could it flood?
Pluvium runs on the NatureV1 / iHELIX engine (geometric attention on the sphere). Pluvium-500 is the full-size model: 57.9M parameters ("500" is its name, not its parameter count). It is trained on one GPU by a single resumable program.
Research model, not an official forecast. Follow your national meteorological service.
Install
pip install pluvium
Use a trained model
pluvium forecast --country JM # every place; tables in ./pluvium-forecast, a report on screen
pluvium place "Port Antonio" --country JM # hour by hour for one place
pluvium learn # check past forecasts against airport reports; update the corrections
pluvium info # what the published model is and how it scored
pluvium forecast writes:
| File | Contents |
|---|---|
towns.csv |
One row per place: chance of rain now and in 6/12/24/48/72 h, heavy rain, thunder, main weather, likely start and window (local time), heaviest hour, 24 h totals (median, 90th percentile, chance of 10/25/50/100 mm), wettest 3 h, rain over the river catchment, flood risk and reason, lightning now, cause, and a one-sentence summary |
parishes.csv |
One row per parish or province, with a headline |
towns.geojson |
The same as points, for maps |
hourly.npz |
Hourly chance of rain, of each intensity and of thunder, and expected rain, per place |
forecast.json, report.txt |
Metadata and a readable digest |
From Python:
from pluvium.cli import fetch_model
from pluvium.forecast import Forecaster, place_timeline
fc = Forecaster(fetch_model("CorxLabs/Pluvium-500"))
result = fc.run(out_dir="forecast")
print(place_timeline(fc.towns, result["summary"], "Mandeville", country="JM", hours=24))
Train Pluvium-500 on one GPU
notebooks/rtx6000_pluvium.py is one copy-paste cell for an NVIDIA RTX PRO 6000 Blackwell (96 GB). Set
GPU_HOURS and a Hub token and run it. The program then:
- builds the Caribbean geography and the town list;
- stages ERA5, CMORPH and airport reports;
- computes the climatology;
- trains stage A on reanalysis;
- trains stage B on real GFS runs, fetched in the background;
- calibrates and scores on a held-out year;
- publishes to the Hub;
- makes the live forecast.
Everything expensive is mirrored to the Hub, so re-running the cell continues where the last session stopped.
GPU_HOURS=24 HF_TOKEN=... HF_REPO=you/Pluvium-500 pluvium program
How it works
The full explanation is in docs/ARCHITECTURE.md, every module's purpose is in docs/MODULES.md, and what can go wrong in operation (and what Pluvium does about it) is in docs/FAILURE_MODES.md. In short:
- Inputs:
- the global models' fields: GFS, ECMWF IFS and AIFS live, ERA5 in training;
- convective indices (K-index, lifted index, mid-level humidity, shear, upper divergence);
- rain falling now, from the satellite;
- the last three hours of airport reports;
- terrain, coasts, sun and season.
- Engine: iHELIX blocks on a Caribbean mesh of 6,075 points (about 11 km over land). Each block combines geodesic attention with per-head radii from 15 to 500 km, content-addressed index attention, and a recurrence along the forecast's 43 frames.
- Physics in the loop:
- mountain rain (Smith–Barstad linear theory, re-solved every hour with learned parameters);
- sea-breeze convergence over each island;
- fronts and shear lines with arrival times;
- the rain falling now, advected along the steering wind for the first 12 hours.
- Outputs: per town and hour, an intensity chain (dry, light, moderate, heavy) gives every timing and amount answer consistently. Heads for thunder, drizzle/rain/showers and the cause complete it.
- Training scores the satellite's and the airports' reports through each instrument's learned confusion matrix (a differentiable hidden Markov model), so neither instrument's errors are taught as truth.
- Live: one run per driving model, mixed. Calibrated on held-out data. Corrected online from what the airports report afterwards.
- Version 3 depth, in its own subpackages:
atmos/: CAPE/CIN, column humidity, Saharan air, tropical waves, cyclone rain, sea breezes, diurnal clocks, terrain lift;engine/: terrain patches, lead modulation, temporal and neighbour attention, experts, uncertainty heads;training/: rare-event curriculum, averaged weights, augmentation, distillation;prob/: copulas, conformal intervals, extreme-value tails, scores;guard/: input repair, freshness, drift, output repair, fallback;hydro/: soil wetness, runoff, flood peak timing;insight/: attribution, error analysis, case replays;render/: maps, bulletins, CAP alerts;ops/: hourly service and JSON API.
Benchmarks
Against the operational systems: see docs/OPERATIONAL_BENCHMARK.md.
pluvium operational scores Pluvium against ECMWF ENS, ECMWF HRES, ECMWF AIFS, NOAA GEFS, NOAA GraphCast and
NOAA GFS. It uses real archived runs only, with no reanalysis anywhere, and calibrates every system the same causal
way.
Not golden tier yet. Results on Jamaica's 450 land cells, with Pluvium at its small size (0.9M parameters, about two hours of CPU training) and driven only by GFS:
- July and August 2025 (protocol frozen before the data were downloaded): Pluvium had the highest skill for rain of at least 1 mm on days 1 and 2. That is +0.127 and +0.118 against +0.087 and +0.091 for the best operational system. With 95% confidence it beat ECMWF ENS, ECMWF HRES, AIFS and GraphCast; against GEFS and GFS the lead is not yet significant. It tied at 10 mm. Its CRPS on daily totals was 40-50% smaller than ECMWF ENS's and GEFS's.
- May and June 2025 (the first test): Pluvium lost after calibration. Its calibration windows held an unusually wet April it had never trained on.
- At 25 and 50 mm no system, ECMWF's included, did meaningfully better than a forecast that never says rain.
Between versions: see docs/BENCHMARK.md. pluvium bench trains each version from
scratch on the same data with the same time budget. Version 3 nearly doubles the skill of 24-hour totals over
version 2 (CRPS skill +44.6% against +23.8%, with emulated forecast errors). It also has the best hourly skill and
critical success index. Heavy-rain hours and thunder are its weak spots.
Data and attribution
ERA5 (Copernicus Climate Change Service), CMORPH CDR and ISD (NOAA NCEI), GFS and GEFS (NOAA NCEP), NOAA's real-time GraphCast, ECMWF open data: IFS, ENS and AIFS (CC-BY-4.0), GOES-East imagery and lightning (NOAA), METAR (NOAA Aviation Weather Center), GeoNames (CC-BY-4.0), geoBoundaries (CC-BY-4.0), Terrarium elevation tiles (Mapzen and its sources).
Code: Apache-2.0, CorX Labs.
Metadata
Release files for pluvium 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pluvium-0.1.0.tar.gz | 228.5 kB | Without provenance | Details for pluvium-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pluvium-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for pluvium-0.1.0-py3-none-any.whl |
Total release size: 471.6 kB
Release files / pluvium-0.1.0.tar.gz
| Download URL | pluvium-0.1.0.tar.gz |
|---|---|
| Size | 228.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b569a73f370e70c657025f2d2b92066910352f4feffa36cda892e8abd3cbb9b7
|
|
BLAKE2b-256 checksum How to use checksums |
8bc24d20fb45a54601cf42587bd30b6a888170fbddc4d3254ccefb1472f3e354
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.18
|
Release files / pluvium-0.1.0-py3-none-any.whl
| Download URL | pluvium-0.1.0-py3-none-any.whl |
|---|---|
| Size | 243.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a02495f08cc496ec7abe6a699a339e5a078885329ab12a75d861b6c33e9f1432
|
|
BLAKE2b-256 checksum How to use checksums |
7e79b2c52f95558158cbb5874f308829400d5863e45d1f82d4ee28be7aa72d11
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.18
|
Security for pluvium 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.