earth2studio.data
.IFS#
- class earth2studio.data.IFS(cache=True, verbose=True)[source]#
The integrated forecast system (IFS) initial state data source provided on an equirectangular grid. This data is part of ECMWF’s open data project on AWS. This data source is provided on a 0.25 degree lat lon grid at 6-hour intervals for the most recent 4 days.
- Parameters:
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
This data source only fetches the initial state of control forecast of IFS and does not fetch an predicted time steps.
Note
Additional information on the data repository can be referenced here:
- __call__(time, variable)[source]#
Function to get 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 IFS lexicon.
- Returns:
IFS weather data array
- Return type:
xr.DataArray