earth2studio.data
.NCAR_ERA5#
- class earth2studio.data.NCAR_ERA5(n_workers=8, cache=True, verbose=False)[source]#
ERA5 data provided by NSF NCAR via the AWS Open Data Sponsorship Program. ERA5 is the fifth generation of the ECMWF global reanalysis and available on a 0.25 degree WGS84 grid at hourly intervals spanning from 1940 to the present.
- Parameters:
n_workers (int, optional) – Number of parallel workers, by default 8
cache (bool, optional) – Cache data source on local memory, by default True
verbose (bool, optional) – Print download progress, by default True
Warning
This is a remote data source and can potentially download a large amount of data to your local machine for large requests.
Note
Additional resources: https://registry.opendata.aws/nsf-ncar-era5/
- __call__(time, variable)[source]#
Retrieve ERA5 data.
- Parameters:
time (datetime | list[datetime] | TimeArray) – Timestamps to return data for (UTC).
variable (str | list[str] | VariableArray) – String, list of strings or array of strings that refer to variables to return. Must be in the NCAR_ERA5 lexicon.
- Returns:
ERA5 weather data array
- Return type:
xr.DataArray