One forecast, ten possible futures

Weather sample notebook on Scigantic.

A 10-member ECMWF ensemble, run three weeks before the 2021 Texas freeze: did it see it coming?

Figure: Dense storm clouds swirling across a darkening sky

The notebook

6 code cells, shown with the output each one printed.

Planette IFS S2S Reforecasts: how far ahead can we see a cold snap coming?

This archive is a 10-member ensemble reforecast (hindcast) from ECMWF's Integrated Forecasting System (IFS, cycle CY49R1), republished by Planette.ai as a cloud-native Icechunk/Zarr v3 data cube. Every odd day from 2006 to 2025, the model is initialized and run out to a 46-day lead: the subseasonal-to-seasonal (S2S) window, well beyond ordinary weather forecasting, where skill comes from slow-varying things like soil moisture and sea-surface temperature rather than today's weather. Each start date carries 10 ensemble members, so the archive captures forecast *uncertainty*, not just one storyline.

We'll use the ensemble to ask a concrete question: did this model, run from mid-January 2021, show any sign of the historic Texas cold snap that hit three to four weeks later, in mid-February 2021?

import sys
print("Python:", sys.version.split()[0])

import icechunk, xarray as xr, numpy as np
print("icechunk:", icechunk.__version__, " zarr/xarray/dask ready")
# Icechunk v2 repos (this one included) require icechunk>=2.0, which in turn
# requires Python >= 3.12: the `forecast` notebook image, not `geospatial`.

Output:

Python: 3.12.13
icechunk: 2.1.2  zarr/xarray/dask ready

Opening the store

The archive is public; no AWS credentials needed. Icechunk wraps the underlying Zarr arrays in a transactional store; you open a *repository*, start a read-only *session*, and hand its store to xarray.

storage = icechunk.s3_storage(
    bucket="planette-ifs-46-day", prefix="reforecasts",
    region="us-east-2", anonymous=True,
)
repo = icechunk.Repository.open(storage)
store = repo.readonly_session("main").store

# Surface variables at 1.5 degrees global resolution.
ds = xr.open_zarr(store, group="single/1p5latx1p5lon", consolidated=False, chunks={})
print(ds)

Output:

<xarray.Dataset> Size: 5TB
Dimensions:    (number: 10, init_time: 3592, lead: 46, lat: 121, lon: 240)
Coordinates:
  * number     (number) int64 80B 1 2 3 4 5 6 7 8 9 10
  * init_time  (init_time) datetime64[ns] 29kB 2006-01-03 ... 2025-06-01
  * lead       (lead) int32 184B 0 1 2 3 4 5 6 7 8 ... 38 39 40 41 42 43 44 45
  * lat        (lat) float64 968B 90.0 88.5 87.0 85.5 ... -87.0 -88.5 -90.0
  * lon        (lon) float64 2kB -180.0 -178.5 -177.0 ... 175.5 177.0 178.5
Data variables: (12/24)
    cape       (number, init_time, lead, lat, lon) float32 192GB dask.array<chunksize=(10, 1, 46, 121, 240), meta=np.ndarray>
    conv_pr    (number, init_time, lead, lat, lon) float32 192GB dask.array<chunksize=(10, 1, 46, 121, 240), meta=np.ndarray>
    cdd        (number, init_time, lead, lat, lon) float32 192GB dask.array<chunksize=(10, 1, 46, 121, 240), meta=np.ndarray>
    dswrf      (number, init_time, lead, lat, lon) float32 192GB dask.array<chunksize=(10, 1, 46, 121, 240), meta=np.ndarray>
    hdd        (number, init_time, lead, lat, lon) float32 192GB dask.array<chunksize=(10, 1, 46, 121, 240), meta=np.ndarray>
    olr        (number, init_time, lead, lat, lon) float32 192GB dask.array<chunksize=(10, 1, 46, 121, 240), meta=np.ndarray>
...

ds is a ~5 TB virtual dataset spanning all 3,592 forecast start dates back to 2006; opening it costs nothing until you slice it. The three shared dimensions are the whole story: number (10 ensemble members), init_time (the forecast start date), and lead (0-45 days out).

A real cold snap, three weeks out

We'll pick the forecast initialized closest to 2021-01-15 and look at t2m_min (daily minimum 2m temperature) at Dallas, TX across all 46 lead days and all 10 members. The historic Texas freeze hit around February 11-20, 2021: lead days 27-36 from this start date.

target = np.datetime64("2021-01-15")
idx = int(np.abs(ds.init_time.values - target).argmin())
init_time = ds.init_time.values[idx]
print("Forecast initialized:", str(init_time)[:10])

lat, lon = 32.8, -96.8  # Dallas, TX
series = ds["t2m_min"].isel(init_time=idx).sel(lat=lat, lon=lon, method="nearest").compute()
temps_c = series.values - 273.15  # (number=10, lead=46), Kelvin -> Celsius
print("shape:", temps_c.shape, " (ensemble members, lead days)")
print(f"coldest single member/lead in this forecast: {temps_c.min():.1f} C")

Output:

Forecast initialized: 2021-01-15
shape: (10, 46)  (ensemble members, lead days)
coldest single member/lead in this forecast: -13.0 C
import matplotlib.pyplot as plt

leads = ds["lead"].values
fig, ax = plt.subplots(figsize=(7, 3.5), dpi=72)
for m in range(temps_c.shape[0]):
    ax.plot(leads, temps_c[m], color="#3b6fa0", alpha=0.4, lw=1.0)
ax.plot(leads, temps_c.mean(axis=0), color="#0a2f5c", lw=2.0, label="ensemble mean")
ax.axhline(0, color="#999", lw=0.7, ls=":")
ax.axvspan(27, 36, color="#d9534f", alpha=0.08, label="Feb 11-20 freeze window")
ax.set_xlabel("Forecast lead (days)")
ax.set_ylabel("Daily min 2m temp (\u00b0C)")
ax.set_title(f"Dallas, TX: 10-member ensemble, initialized {str(init_time)[:10]}", fontsize=10)
ax.legend(loc="upper right", frameon=False, fontsize=8)
ax.spines[["top", "right"]].set_visible(False)
fig.tight_layout()
plt.show()

This is the shape of subseasonal forecasting: at lead 0 the ensemble agrees almost exactly (all 10 members start from nearly the same analysis), and by lead 30+ the members fan out over a 15-20°C range. Look inside the freeze window (shaded, lead 27-36): the ensemble mean stays unremarkable, but individual members dip well below freezing. A minority of members carried real signal for the historic cold outbreak three to four weeks before it happened, even though averaging across the ensemble erases it. This is exactly why S2S products are shipped as ensembles rather than one deterministic number: the risk lives in the spread, not the mean.

Where does the uncertainty live geographically?

Same forecast, same lead day (27, landing on the freeze window), now the full grid instead of one point. Left: the ensemble-mean forecast. Right: the ensemble spread (std across the 10 members), a map of how much the model actually disagrees with itself, geographically. The first cartopy plot in a session downloads its Natural Earth basemap data from naturalearth.s3.amazonaws.com the first time it runs (a few extra seconds); after that it's cached.

field = ds["t2m_min"].isel(init_time=idx, lead=27).compute() - 273.15  # (number, lat, lon)
ens_mean = field.mean(dim="number")
ens_spread = field.std(dim="number")
print("ensemble-mean range:", f"{float(ens_mean.min()):.1f}", "to", f"{float(ens_mean.max()):.1f}", "C")
print("ensemble-spread range:", f"{float(ens_spread.min()):.1f}", "to", f"{float(ens_spread.max()):.1f}", "C")

Output:

ensemble-mean range: -45.9 to 29.1 C
ensemble-spread range: 0.2 to 13.9 C
import cartopy.crs as ccrs
import cartopy.feature as cfeature

extent = [-125, -66, 20, 52]  # CONUS
fig, axes = plt.subplots(1, 2, figsize=(9, 3.6), dpi=72,
                          subplot_kw={"projection": ccrs.PlateCarree()})
for ax in axes:
    ax.set_extent(extent, crs=ccrs.PlateCarree())
    ax.add_feature(cfeature.COASTLINE, linewidth=0.5)
    ax.add_feature(cfeature.STATES, linewidth=0.3, edgecolor="#666")
    ax.add_feature(cfeature.BORDERS, linewidth=0.4)

p0 = axes[0].pcolormesh(ens_mean.lon, ens_mean.lat, ens_mean, cmap="RdBu_r",
                         vmin=-25, vmax=15, transform=ccrs.PlateCarree(), shading="auto")
axes[0].set_title("Ensemble mean daily min T (\u00b0C)", fontsize=9)
fig.colorbar(p0, ax=axes[0], orientation="horizontal", pad=0.05, shrink=0.85).ax.tick_params(labelsize=7)

p1 = axes[1].pcolormesh(ens_spread.lon, ens_spread.lat, ens_spread, cmap="viridis",
                         vmin=0, vmax=10, transform=ccrs.PlateCarree(), shading="auto")
axes[1].set_title("Ensemble spread (std, \u00b0C)", fontsize=9)
fig.colorbar(p1, ax=axes[1], orientation="horizontal", pad=0.05, shrink=0.85).ax.tick_params(labelsize=7)

target_date = str(ds.init_time.values[idx] + np.timedelta64(27, "D"))[:10]
fig.suptitle(f"Lead day 27 (~{target_date}), from init {str(init_time)[:10]}", fontsize=9)
fig.tight_layout()
plt.show()

Notice the spread map doesn't just track the cold region: confidence varies independently of the forecast itself, and it's exactly this kind of map that operational S2S forecasters use to decide how much to trust a given regional outlook.

Where to go next

See this archive's schema card for the full variable list, chunking details, and the caveats worth knowing before you build on this (units, what t2m daily-mean vs t2m_min/t2m_max actually mean, and why the chunks//manifests//snapshots/ files under the mount path are not meant to be read directly). Licensed CC BY 4.0; cite ECMWF and the S2S project.

Want to go further?

Launch this notebook (the AI assistant panel on the right becomes available) and ask it to extend the analysis. A few ideas:

Run it yourself

This sample opens as a hosted JupyterLab notebook with its datasets already mounted, so nothing has to be downloaded first. The notebook arrives with its outputs already rendered, and an AI assistant in the notebook can explain each step or change the analysis. Open the sample or browse the full catalog.