fetch_era5_pressure_levels
Download ERA5 monthly mean atmospheric data for a specified pressure level and month, with optional geospatial filtering and multi-year support.
Instructions
Downloads ERA5 monthly mean data on specific pressure levels for a given month across one or more years.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| east | No | Eastern longitude (e.g., 20 for 20E) Example: fetch_era5_pressure_levels('temperature', 500, '2023', '01', 'temp_500hpa.nc', north=44, west=-10, south=36, east=4) | |
| west | No | Western longitude (e.g., -10 for 10W) | |
| year | Yes | The year(s) for the data (e.g., '2023' or ['2021', '2022', '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'). | |
| 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_500hpa.nc'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |