earth2studio-deterministic-forecast
Skill1.2k starsChanged 4 months agoApache-2.0View on GitHub
Build deterministic forecast scripts with Earth2Studio (model, data source, IO, inference). Do NOT use for ensemble, diagnostics, data-only fetch, or install.
Trending
Less talk lately.about the whole repository
Who's talking about NVIDIA/earth2studio
- A Hacker News story“Earth2Studio: Nvidia's next generation of weather AI”Hacker News · Jan 26, 2026 · 5 points
- @rodrigo-gtiff.bsky.social“8/ 🛠️ A shout-out to @nvidiabot.bsky.social Earth2Studio — all model predictions in this study ran through …”Bluesky · Jul 21, 2026 · 1 likes
- NVIDIA/physicsnemo“Add torch support to zenith_angle.py”GitHub · Jun 16, 2026 · 1 reactions
- @pythonhub.dev“earth2studio Open-source deep-learning framework for exploring, building and deploying AI weather/climate …”Bluesky · Feb 5, 2026 · 1 likes
- secondlaw-ai/skyrim“Hello from Earth2Studio”GitHub · May 8, 2024 · 1 reactions
The biggest 5 of 16 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 16
Talked about on GitHub, Bluesky and Hacker News (16 times).
On GitHub · 13
- Jun 16, 2026Add torch support to zenith_angle.py — NVIDIA/physicsnemo1 reaction · 3 comments
- May 8, 2024Hello from Earth2Studio — secondlaw-ai/skyrim1 reaction · 1 comment
- Oct 1, 2026python3Packages.earth2studio: 0.18.0 -> 0.19.0 — NixOS/nixpkgs0 reactions · 1 comment
- Sep 7, 2026Expand NVIDIA Earth-2 source coverage beyond FourCastNet prototype — TusharSariya/Astraeus0 reactions · 1 comment
- Sep 2, 2026Generative downscaling of CMIP6 (CorrDiff-style) to daily catchment forcing for the climate playbook — Rekin226/aquascope0 reactions
8 more on GitHub
- Aug 18, 2026Consider serializing to Icechunk format — gaia-hazlab/gaia-cli0 reactions
- Jul 4, 2026Insitubatch — emfdavid/earth2studio0 reactions · 1 comment
- Nov 7, 2025[Ecosystem] Nvidia PhysicsNeMo — pytorch-fdn/ecosystem0 reactions · 9 comments
- Sep 30, 2025Add support for NVIDIA ML-based forecast models — google-research/weatherbenchX0 reactions · 2 comments
- Sep 10, 2025Create nvidia earth studio 2 environment for JASMIN — MetOffice/data_science_cop0 reactions · 1 comment
- Aug 7, 2025Adding seed set to infill method (do not merge) — NVlabs/cBottle0 reactions · 2 comments
- Jan 31, 2025px-cdn.net — mypdns/matrix0 reactions · 1 comment
- May 27, 2024Add Earth2Studio — protontypes/open-sustainable-technology0 reactions · 1 comment
On Bluesky · 2
- Jul 21, 20268/ 🛠️ A shout-out to @nvidiabot.bsky.social Earth2Studio — all model predictions in this study ran through it. Having a single open-source… — @rodrigo-gtiff.bsky.social1 likes and repost
- Feb 5, 2026earth2studio Open-source deep-learning framework for exploring, building and deploying AI weather/climate workflows.… — @pythonhub.dev1 likes and repost
On Hacker News · 1
- Jan 26, 2026Earth2Studio: Nvidia's next generation of weather AI5 points · 1 comment
In this repository10 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- developer-bump-versionSkill
- developer-release-rebaseSkill
- earth2studio-create-datasourceSkill
- earth2studio-create-diagnosticSkill
- earth2studio-create-prognosticSkill
- earth2studio-data-fetchSkill
- earth2studio-discoverSkill
- earth2studio-installSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 4 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 65
Default: ZarrBackend. Use NetCDF4Backend for legacy tools, XarrayBackend for in-memory/small runs.
- Very specific: line 110
When user explicitly requests manual implementation (NOT using earth2studio.run.deterministic), follow this checklist in order:
- Very specific: line 115
create_iterator: - Create prognostic iterator: model_iter = model.create_iterator(x, coords)
- Distinctive: line 119
io.write: - Write each step to backend
- Distinctive: line 141
Always fetch live docs: before recommending models or data sources - APIs change between releases
- Very specific: line 144
Time format is ISO 8601: - Use "YYYY-MM-DDTHH:MM:SS" format for the time argument
- Very specific: line 145
Wind speed needs both components: - If user asks for "wind speed", include both u10m and v10m
- Distinctive: line 147
ZarrBackend is the default: - Only suggest alternatives if user has specific requirements
- Distinctive: line 148
GPU is required: - All prognostic models require CUDA.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Earth2Studio Deterministic Forecast Skill
Guide users through building deterministic (single-member) weather forecast
inference scripts using earth2studio.run.deterministic.
Prerequisites
- Earth2Studio installed with CUDA-capable GPU
- Python 3.10+, network access for model weights and data
Live Doc References
Fetch relevant docs to verify current APIs before recommending components:
| Component | URL |
| Prognostic models | https://nvidia.github.io/earth2studio/modules/models_px.html |
| Data sources (analysis) | https://nvidia.github.io/earth2studio/modules/datasources_analysis.html |
| Data sources (forecast) | https://nvidia.github.io/earth2studio/modules/datasources_forecast.html |
| IO backends | https://nvidia.github.io/earth2studio/modules/io.html |
run.deterministic | https://github.com/NVIDIA/earth2studio/blob/main/earth2studio/run.py |
Workflow
1. Gather Requirements (skip what's already provided)
- Time horizon (hours/days/weeks)
- Variables of interest (t2m, wind, geopotential, etc.)
- Region (global or specific like CONUS)
- GPU/VRAM available
2. Select Model
Fetch prognostic models page. Filter by time horizon, region, VRAM. Note model's:
- Input variables (
input_coords["variable"]) - Time step size (
output_coords["lead_time"])
3. Select Data Source
Data source must provide all model input variables. Verify via lexicon at
earth2studio/lexicon/<source>.py. Common pairings: Global models → GFS/ARCO_ERA5/IFS;
Regional → HRRR.
4. Select IO Backend
Default: ZarrBackend. Use NetCDF4Backend for legacy tools, XarrayBackend
for in-memory/small runs.
5. Calculate nsteps
nsteps = forecast_hours / model_step_hours
Example: 5-day forecast with 6h step → nsteps = 120 / 6 = 20
6. Decide: output_coords Filtering
- Filter variables (
output_coords) when user requests specific variables (e.g., "t2m and wind") - reduces output size - Save all variables (omit
output_coords) when user says "all variables" or doesn't specify - preserves full model output
7. Generate Script
from collections import OrderedDict
import numpy as np
import torch
from earth2studio.models.px import <ModelClass>
from earth2studio.data import <DataSourceClass>
from earth2studio.io import <IOBackendClass>
from earth2studio.run import deterministic
model = <ModelClass>.load_model(<ModelClass>.load_default_package())
data = <DataSourceClass>()
io = <IOBackendClass>("<output_path>")
# Include output_coords ONLY if user requested specific variables
output_coords = OrderedDict({"variable": np.array(["t2m", "u10m"])})
io = deterministic(
time=["YYYY-MM-DDTHH:MM:SS"],
nsteps=<N>,
prognostic=model,
data=data,
io=io,
output_coords=output_coords, # omit if saving all variables
device=torch.device("cuda"),
)8. Manual Loop Alternative
When user explicitly requests manual implementation (NOT using earth2studio.run.deterministic), follow this checklist in order:
- fetch_data - Get initial conditions:
x, coords = fetch_data(data, time, model.input_coords, device) - Setup total_coords - Build coordinate arrays for time and lead_time dimensions
- io.add_array - Initialize IO backend with total_coords before loop
- create_iterator - Create prognostic iterator:
model_iter = model.create_iterator(x, coords) - Loop through nsteps -
for step, (x, coords) in enumerate(model_iter): if step >= nsteps: break - map_coords - Filter output variables if needed:
x_out, coords_out = map_coords(x, coords, output_coords) - split_coords - Prepare for IO write:
x_out, coords_out = split_coords(x_out, coords_out) - io.write - Write each step to backend
9. Explain Next Steps
- How to change forecast time or run multiple initializations
- How to read output (
xr.open_zarr(...)) - Point to diagnostic workflow for post-processing
Ownership
Owns: Model selection, data source compatibility, IO backend selection,
nsteps calculation, generating earth2studio.run.deterministic scripts.
Does not own: Ensemble workflows, diagnostics, data-only fetch, installation, model training.
Troubleshooting
See references/troubleshooting.md for common errors and solutions.
Reminders
- Always fetch live docs before recommending models or data sources - APIs change between releases
- Verify lexicon compatibility - Model input variables must exist in data source's VOCAB
- Use
load_default_package()- This is the standard pattern for loading model weights - Time format is ISO 8601 - Use
"YYYY-MM-DDTHH:MM:SS"format for thetimeargument - Wind speed needs both components - If user asks for "wind speed", include both
u10mandv10m - nsteps is integer division -
nsteps = total_hours // model_step_hours - ZarrBackend is the default - Only suggest alternatives if user has specific requirements
- GPU is required - All prognostic models require CUDA; CPU inference is not supported
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

