General-purpose weather and climate data plotting: heatmaps, filled-contour
maps, time series, xy scatter, wind roses, quiver, ECMWF-style mediograms,
and lead-week event-verification grids, from weather-skills standard dataset
Zarrs. Built on weather-skills-core
for dataset loading, the CLI decorator, and a handful of shared utilities.
| Skill | Role |
|---|---|
plot |
Heatmap, contour, timeseries, xy scatter, wind-rose, quiver, or layered map, one dataset or several side by side |
plot-timeseries |
One 1D trace per input Zarr overlaid on a shared time axis |
plot-verify |
Lead-week event-verification grid of maps for one observation week |
plot-mediogram |
ECMWF-style mediogram comparing a forecast ensemble against an m-climate ensemble |
The full --spec schema shared by all four skills is documented in
docs/plotting.md.
uv sync --group dev
uv run pytest
# A single heatmap
uv run skills/plot/scripts/plot.py -i /tmp/forecast.zarr -o /tmp/out.png \
--spec '{"inputs":[{"variable":"tp"}],"title":"S2S precip"}'
# A timeseries overlay
uv run skills/plot-timeseries/scripts/plot_timeseries.py -i /tmp/a.zarr -i /tmp/b.zarr \
-o /tmp/timeseries.png
# A lead-week verification grid
uv run skills/plot-verify/scripts/plot_verify.py \
--obs /tmp/obs.zarr --forecast /tmp/wk1.zarr /tmp/wk2.zarr /tmp/wk3.zarr /tmp/wk4.zarr \
-o /tmp/verify.png
# A mediogram
uv run skills/plot-mediogram/scripts/plot_mediogram.py \
-i /tmp/forecast.zarr -i /tmp/mclimate.zarr -o /tmp/medio.png./install_agent.sh
# or:
claude plugin marketplace add rhiza-research/weather-skills-plotting
claude plugin install rhiza-plotting@weather-skills-plottingSame packaging model as chc-skills:
canonical skills under skills/<name>/, Claude plugin via .claude-plugin/ +
agents/. Unlike chc-skills, this repo also carries its own rendering
engine at src/weather_skills_plotting/ — every skill script depends on it
as local library code (not a separately published package), since a script
and the code it calls should always move together in one commit.
See CONTRIBUTING.md.