fetch_era5_single_levels
Retrieve ERA5 monthly mean surface data for a specified variable, year, month, and geographic bounding box.
Instructions
Downloads ERA5 monthly mean surface data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| east | No | Eastern longitude (e.g., 20 for 20E) Example: fetch_era5_single_levels('2m_temperature', '2023', '01', 'spain_temp.nc', north=44, west=-10, south=36, east=4) | |
| west | No | Western longitude (e.g., -10 for 10W) | |
| year | Yes | The year for the data (e.g., '2023'). | |
| month | Yes | The month for the data (e.g., '01', '12'). | |
| north | No | Northern latitude (e.g., 60 for 60N) | |
| south | No | Southern latitude (e.g., 30 for 30N) | |
| variable | Yes | The surface variable to download (e.g., '2m_temperature'). | |
| output_filename | Yes | The local filename for the downloaded data (e.g., 'data/raw/2m_temp_2023_01.nc'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |