pyrtlib.apiwebservices.ERA5Reanalysis.request_data#
- static ERA5Reanalysis.request_data(path: str, time: datetime, lonlat: tuple, resolution: Optional[float] = 0.25, offset: Optional[float] = 0.4) str #
Download ERA5Reanalysis data from the Copernicus Climate Change Service.
- Parameters:
path (str) – The output directory
time (datetime) – The date and time of the desired observation.
lonlat (tuple) – The coordinatre in degrees, longitude and latitude
resolution (Optional[float], optional) – The pixel size of the requested grid data. Defaults to 0.25.
offset (Optional[float], optional) – The offset to apply to coordinates to get the extent. Defaults to 0.3.
- Returns:
The path to downloaded netcdf file
- Return type: