Getting Started#

aifs-modal uses four external services. Set them up once in the order below, then jump to the Your First Forecast notebook.

2. Forecast output storage#

Forecast outputs are stored as Icechunk repositories in object storage. Tigris is the recommended default: it is co-located with Modal’s primary region, so data transfer between them is fast and free, and the free tier includes 5 GB/month.

  1. Create a free account at tigrisdata.com.

  2. Create a bucket and generate an access key pair (access key ID + secret access key).

Any backend supported by Icechunk works — AWS S3, Cloudflare R2, Google Cloud Storage, Azure Blob Storage, or Earthmover ArrayLake.

3. Initial conditions source#

aifs-modal supports four IC sources, selected with the source= argument of run_forecast:

source

Credentials

Coverage

Notes

"ifs-arraylake" (default)

Earthmover account + Brightband subscription

~last 15 days

Fastest and most reliable; used in Your First Forecast

"ifs-ekd"

None

~last 2 years

No credentials, but frequent 503 Slow Down errors make it unreliable

"era5-arco"

None

1979 — ~5 days ago

ERA5 reanalysis; used in Jet-stream free run and Heatwave reforecast

"era5-cds"

~/.cdsapirc

1979 — ~5 days ago

ERA5 via Copernicus CDS; slower than era5-arco

Note

ERA5 publication lags real time by about 5 days, so the ERA5 sources are suitable for hindcasts and reforecasts but not for operational use.

To set up the default ifs-arraylake source:

  1. Create a free account at app.earthmover.io.

  2. Subscribe to the Brightband ECMWF IFS dataset on the marketplace (free).

  3. Copy your API token from the Earthmover dashboard.

Notebooks#