Download ERA5 reanalysis data for a variable and time range using the Copernicus Climate Data Store API

domain: cds.climate.copernicus.eu · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Register/log in to the CDS, accept the relevant dataset license, and save the URL and personal access token to the local .cdsapirc configuration file.
  2. Install the cdsapi Python package and instantiate a client that reads the .cdsapirc credentials automatically.
  3. Submit a retrieval request specifying the dataset (e.g. reanalysis-era5-single-levels), variable(s), year/month/day/time, and area/grid subsetting.
  4. Poll or await the asynchronous job, then download the resulting NetCDF/GRIB file once the request completes.
  5. Note a newer ecmwf-datastores-client package with sync/async REST support exists, but the legacy cdsapi package remains supported and migration is not yet mandatory.

Known gotchas

Related routes

Retrieve free weather data for renewables forecasting using the Open-Meteo API
api.open-meteo.com · 5 steps · unrated
pull a multi-year historical hourly weather archive for a site using the Open-Meteo Historical Weather API to compute heating/cooling degree days
open-meteo.com · 6 steps · unrated
Retrieve hourly MERRA-2-derived climatic data (temperature, precipitation, wind) for a pavement-design geolocation via the LTPP InfoPave API integrated with AASHTOWare OpenAPI.
aashtoware.org · 4 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans