fetch_era5_hourly_pressure_levels
Download ERA5 hourly atmospheric variables at specified pressure levels into a local NetCDF file.
Instructions
Downloads ERA5 hourly data on specific pressure levels.
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_pressure_levels('temperature', 850, '2023', '01', '15', 'temp_850hpa_2023_01_15.nc') fetch_era5_hourly_pressure_levels('geopotential', 500, '2023', '01', '15', 'z500_europe.nc', north=70, west=-25, south=30, east=40) | |
| 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 variable to download (e.g., 'geopotential', 'temperature', 'u_component_of_wind') | |
| pressure_level | Yes | The pressure level in hPa (e.g., 500, 850, 1000) | |
| output_filename | Yes | The local filename for the downloaded data (e.g., 'data/raw/geopotential_850hpa_2023_01_15.nc') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |