# NanoCast: The whole planet’s weather, 10 days ahead, in about 3 seconds.

Canonical: https://udgamlabs.com/models/nanocast · Updated: 2026-12-05

Open weather model by Udgam Labs

It’s live below: today’s 10 days for temperature, wind, rain and pressure, for any place on Earth. Pick a layer, a city or a day. Then run the model yourself: your own computer makes the whole forecast again.

Opens on NanoCast’s own forecast from today’s start, made by the same model on our side every 6 hours. Drag to turn the globe, click anywhere for that point’s forecast. Storm replays are in the “Start from” menu. [Open full screen](https://udgamlabs.com/models/nanocast/app/)

## Forecast vs what really happened

Hurricane Ian, September 2022, a year the model never saw. Drag the line: on the left, NanoCast’s forecast made three days before; on the right, what the atmosphere did (ERA5).

![Wind near the ground over Florida on 28 September 2022: what happened (ERA5)](https://udgamlabs.com/models/nanocast/ian_era5_72h.jpg)

![Wind near the ground over Florida on 28 September 2022: NanoCast's forecast](https://udgamlabs.com/models/nanocast/ian_nanocast_72h.jpg)

NanoCast, 3 days aheadWhat happened (ERA5)

Started 25 Sep 2022 00:00 UTC; shown at +72 h, 28 Sep, the day Ian reached Florida. Wind near the ground. More storms are in the demo at the top: choose one under “Start from”.

## Your place, next 10 days

Highs, lows, rain and wind from NanoCast’s latest run, for the grid point nearest you. A regional forecast: points are 1.5° apart (about 166 km), so use it for the shape of the next days, not tomorrow’s exact number.

…

regional forecast, nearest 1.5° grid point

1.  …

    –

2.  …

    –

3.  …

    –

4.  …

    –

5.  …

    –

6.  …

    –

7.  …

    –

8.  …

    –

9.  …

    –

10.  …

     –

Highs and lows near the ground (°C), rain per day and the strongest wind near the ground (km/h), from NanoCast’s run started today. One grid point stands for an area about 166 km across, so read it as the weather of your region.

## How it works

One loop, run on your own graphics chip through WebGPU when you press Run. The forecast the page opens on is the same model, run on our side every 6 hours so it is ready before any download.

1.  1

    Today’s weather goes in

    NOAA’s latest global analysis, shrunk to a 1.5° grid: wind, temperature, humidity and pressure at 8 heights.

2.  2

    The model steps 6 hours

    A 40M network predicts how the whole atmosphere changes over the next 6 hours.

3.  3

    Again, forty times

    Each forecast becomes the next input, out to 10 days.

4.  4

    Your screen draws it

    The globe, the rain and the city panel are painted from the model’s numbers.

## How good is it?

We scored every forecast started in 2022, 730 of them, against what actually happened, on the WeatherBench 2 benchmark that the big weather models report on. Other models’ scores are the benchmark’s published ones.

Temperature near the groundAverage error (°C) · lower is better · 2022, a year the model never saw

| Model | Day 1 | Day 3 | Day 5 | Day 7 | Day 10 |
| --- | --- | --- | --- | --- | --- |
| NanoCast-40M | 0.81 | 1.14 | 1.57 | 2.08 | 2.74 |
| ECMWF IFS HRES | 0.90 | 1.14 | 1.52 | 2.03 | 2.69 |
| GraphCast | 0.50 | 0.81 | 1.24 | 1.78 | 2.52 |
| Aurora | 0.85 | 1.02 | 1.35 | 1.76 | 2.34 |
| Pangu-Weather | 0.57 | 0.92 | 1.40 | 1.96 | 2.67 |
| Climatology | 2.55 | 2.55 | 2.55 | 2.55 | 2.55 |
| Persistence | 2.03 | 2.90 | 3.18 | 3.34 | 3.49 |

Pressure pattern 5 km up (Z500)Average error (m²/s²) · lower is better · 2022, a year the model never saw

| Model | Day 1 | Day 3 | Day 5 | Day 7 | Day 10 |
| --- | --- | --- | --- | --- | --- |
| NanoCast-40M | 58 | 172 | 348 | 548 | 798 |
| ECMWF IFS HRES | 47 | 139 | 308 | 523 | 811 |
| GraphCast | 39 | 122 | 271 | 460 | 733 |
| Aurora | 43 | 121 | 264 | 444 | 671 |
| Pangu-Weather | 45 | 134 | 296 | 503 | 789 |
| Climatology | 809 | 810 | 810 | 811 | 813 |
| Persistence | 606 | 958 | 1049 | 1083 | 1118 |

- 0.81 °C

    average error in ground temperature one day ahead (ECMWF IFS HRES 0.90, GraphCast 0.50)

- About a week

    of useful skill on the large-scale pattern (Z500 anomaly correlation 0.76 at day 7, above the usual 0.6 bar)

- 0 crashes

    in 1,462 ten-day forecasts across 2020 and 2022: no runaway numbers

**Read it plainly:** GraphCast, built by Google DeepMind with 36 times as many grid points, is better at every lead time. NanoCast is close to ECMWF’s main forecast (IFS HRES) on temperature near the ground and behind it on the upper air in the first five days. By day 10 every model drifts toward the average weather for the date.

Global, 1.5° grid, lat-weighted RMSE against ERA5, 00 and 12 UTC starts, 2022 (held out). NanoCast: our run, 2 Dec 2026. Others: WeatherBench 2 published scores. Full tables for 2020 and 2022 in the [model card](https://huggingface.co/udgamlabs/NanoCast-40M).

### Under the hood

39.9M parameters, a spherical U-Net with attention, 1.5° grid (240 × 121), 8 pressure levels and 4 surface fields, 6-hour steps. Trained on ERA5 reanalysis for 1979–2019 (Copernicus), checked on 2021, tested on 2020 and 2022. About 10 hours on one GPU. Starts from NOAA GFS in the live demo. One FP16 ONNX file, Apache-2.0.

## How it compares

The global forecast models people talk about, as their makers publish them. Most run on supercomputers or data-centre chips. NanoCast trades detail for a size that fits in a browser tab.

Global weather forecast models compared, as published by each maker

| Model | Made by | Size | Grid | Runs on | Open weights |
| --- | --- | --- | --- | --- | --- |
| NanoCast-40M | Udgam Labs | 40M, 80 MB | 1.5° | Your browser (WebGPU) | Yes, Apache-2.0 |
| [ECMWF IFS HRES](https://www.ecmwf.int/en/forecasts/datasets/set-i) | ECMWF | Physics model | ~9 km | Supercomputer | No |
| [GraphCast](https://github.com/google-deepmind/weathernext/blob/main/docs/weathernext1_graph/README.md) | Google DeepMind | 36.7M | 0.25° (small version 1°) | Data-centre chip (TPU) | Yes, CC BY 4.0 |
| [Pangu-Weather](https://github.com/198808xc/Pangu-Weather) | Huawei Cloud | 4 models, ~4.4 GB | 0.25° | GPU or CPU | Non-commercial (CC BY-NC-SA 4.0) |
| [Aurora](https://huggingface.co/microsoft/aurora) | Microsoft | 1.3B | 0.25° (and a 0.1° version) | GPU, ~40 GB memory | Yes, MIT |
| [AIFS Single v2](https://huggingface.co/ecmwf/aifs-single-2.0) | ECMWF | 994 MB checkpoint | ~0.25° (N320) | Data-centre GPU | Yes, CC BY 4.0 |
| [ArchesWeather-M](https://arxiv.org/abs/2405.14527) | Inria | 89M | 1.5° | Data-centre GPU | Yes, BSD |
| [NeuralGCM](https://neuralgcm.readthedocs.io/en/latest/checkpoints.html) | Google Research | 14.5M–18.3M | 2.8° / 1.4° | Data-centre chip (TPU) | Yes, CC BY-SA 4.0 |

As published by each maker, read 3 Dec 2026; each name links to its source. Sizes are not like for like: grids, inputs and hardware differ.

## Where it falls short

- **Coarse grid:** points are 1.5° apart (about 166 km), so it can’t see a city’s own weather; the city panel is a regional forecast.
- **Behind the big models early on:** in days 1–5 it trails ECMWF’s main forecast (IFS HRES) on the upper air and on wind, and GraphCast, Aurora and Pangu-Weather on most scores.
- **Blurs with time:** forecasts smooth out after about a week, so extremes look milder than they will be.
- **Trained on ERA5, started from NOAA GFS in the live demo;** a season of live runs has not been scored yet.
- **Desktop browsers only for the live run:** WebGPU in Chrome or Edge and an 80 MB download.

## Use it

- [In this page Run today’s forecast The 80 MB model downloads once from Hugging Face, then runs on your own graphics chip. Nothing about you leaves your device.](#top)
- [In Python One ONNX file and ONNX Runtime Forty lines: load, step 6 hours forty times, read any place. Apache-2.0.](#quick-start)
- [On GitHub Train it further The training script and the PyTorch weights, to fine-tune NanoCast on your own years or regions. Also the globe from this page and the live-start script. Apache-2.0.](https://github.com/udgamlabs/nanocast#fine-tuning)

### Quick start: Hurricane Ian in Python

`pip install onnxruntime numpy huggingface_hub`, then run this. It forecasts 10 days from 25 Sep 2022 and prints Ian’s lowest pressure at +72 h.

```
import json, numpy as np, onnxruntime as ort
from huggingface_hub import hf_hub_download

repo = "udgamlabs/NanoCast-40M"
get = lambda f: hf_hub_download(repo, f)
cfg = json.load(open(get("config.json")))
stats = json.load(open(get("stats.json")))
mean = np.array(stats["mean"], np.float32)[:, None, None]
std = np.array(stats["std"], np.float32)[:, None, None]
sess = ort.InferenceSession(get("nanocast_40m_fp16.onnx"))

# Start: two states 6 h apart (Hurricane Ian, 2022-09-25 00 UTC, from ERA5), raw float16 [2, 44, 121, 240]
start = cfg["samples"][0]
x = np.fromfile(get(start["file"]), "<f2").astype(np.float32).reshape(2, 44, 121, 240)
prev, cur = ((x - mean) / std).astype(np.float16)[:, None]

# Forcings: orography, land-sea mask, sin and cos of latitude, sunlight at t and t+6h
lat = np.deg2rad(np.arange(121) * 1.5 - 90)[:, None]
lon = np.deg2rad(np.arange(240) * 1.5)[None, :]
def sun(ts):  # cos(solar zenith) at the top of the atmosphere, clipped at 0
    d = (ts - 946728000) / 86400; g = np.deg2rad((357.529 + 0.98560028 * d) % 360)
    lam = np.deg2rad((280.459 + 0.98564736 * d) % 360 + 1.915 * np.sin(g) + 0.02 * np.sin(2 * g))
    sd = np.sin(np.deg2rad(23.439 - 3.6e-7 * d)) * np.sin(lam)
    ha = ((ts % 86400) / 3600 - 12) * np.pi / 12 + lon
    cz = np.sin(lat) * sd + np.cos(lat) * np.sqrt(1 - sd * sd) * np.cos(ha)
    return np.maximum(cz, 0) * (1 + 0.0334 * np.cos(g))
forc = np.zeros((1, 6, 121, 240), np.float32)
forc[0, :2] = np.fromfile(get("static_240x121.bin"), "<f4").reshape(2, 121, 240)
forc[0, 2], forc[0, 3] = np.sin(lat), np.cos(lat)

t0 = start["timestamp_s"]
for step in range(1, 41):  # 40 steps of 6 h = 10 days
    forc[0, 4], forc[0, 5] = sun(t0 + (step - 1) * 21600), sun(t0 + step * 21600)
    nxt, rain = sess.run(None, {"x_prog": cur, "x_prev": prev, "x_forc": forc.astype(np.float16)})
    prev, cur = cur, nxt
    if step == 12:  # +72 h: lowest sea-level pressure around the Gulf of Mexico
        mslp = (cur[0, 43].astype(np.float32) * std[43] + mean[43] + 101325) / 100
        print(f"+72 h, Hurricane Ian: lowest pressure {mslp[70:84, 177:194].min():.1f} hPa")

# London, day 10: 2 m temperature (channel 40, stored in deg C)
y, x = round((51.5 + 90) / 1.5), round((-0.13 % 360) / 1.5) % 240
print(f"+240 h, London grid point: {cur[0, 40, y, x] * std[40, 0, 0] + mean[40, 0, 0]:.1f} °C")
```

---

## About Udgam Labs

Udgam Labs is an independent AI research lab. We work from first principles: before we build, we understand why things work, whether we are training a model, fine-tuning one or applying AI to a new problem. Today that means open models such as Gargi, a 384M-parameter language model that comes within 2 points of Qwen2.5-0.5B on three reasoning benchmarks with about 1,000× less training data. Next come products, custom models for businesses, and AI in the physical world. Udgam (उद्गम) is Sanskrit for origin.

Udgam Labs · AI research from first principles · https://udgamlabs.com
