I am experiencing a machine-dependent issue when attempting to retrieve ERA5-Land data via the Copernicus Climate Data Store (CDS) API. The exact same request succeeds on my Linux machine but fails with a 404 error on my macOS machine** .
Environment Details
• Machine 1 (Works):
*- OS: Ubuntu 22.04 LTS
*- Python: 3.11.10 (via Miniconda)
*- CDS API Version: Latest (pip install --upgrade cdsapi)
*- Network: Same WiFi as macOS
*- Success: Able to download reanalysis-era5-land data
• Machine 2 (Fails) :
*- OS: macOS 14.x (MacBook Air, Apple Silicon)
*- Python: 3.11.10 (via Miniconda3)
*- CDS API Version: Same as Linux machine
*- Network: Same WiFi as Linux
*- Error: 404 Client Error: Not Found when accessing https://cds.climate.copernicus.eu/api/v2/resources/reanalysis-era5-land
Much apprecited if you can share similar experiences or suggestions.
I’ve tested with the simple script as below,
import cdsapi
c = cdsapi.Client()
c.retrieve(
“reanalysis-era5-single-levels”,
{
“variable”: “2m_temperature”,
“year”: “2023”,
“month”: “02”,
“day”: “12”,
“time”: [“00:00”],
“format”: “netcdf”,
},
“test.nc”
)