fetch_era5_hourly_single_levels
Retrieve ERA5 hourly surface data for any date and location. Provide variable, year, month, day, and local output filename; optional bounding box restricts the download to a specific region.
Instructions
Downloads ERA5 hourly surface data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| day | Yes | The day(s) for the data (e.g., '15' or ['01','02','03']) | |
| east | No | Eastern longitude (e.g., 20 for 20E) Example: fetch_era5_hourly_single_levels('2m_temperature', '2023', '01', '15', 'temp_2023_01_15.nc') fetch_era5_hourly_single_levels('total_precipitation', '2023', '01', ['01','02','03'], 'precip_jan_1_3.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', 'total_precipitation') | |
| output_filename | Yes | The local filename for the downloaded data (e.g., 'data/raw/2m_temp_2023_01_15.nc') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |