earth2studio.data.ARCO#

class earth2studio.data.ARCO(cache=True, verbose=True, async_timeout=600)[source]#

Analysis-Ready, Cloud Optimized (ARCO) is a data store of ERA5 re-analysis data currated by Google. This data is stored in Zarr format and contains 31 surface and pressure level variables (for 37 pressure levels) on a 0.25 degree lat lon grid. Temporal resolution is 1 hour.

Parameters:
  • cache (bool, optional) – Cache data source on local memory, by default True

  • verbose (bool, optional) – Print download progress, by default True

  • async_timeout (int, optional) – Time in sec after which download will be cancelled if not finished successfully, by default 600

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 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 the ARCO lexicon.

Returns:

ERA5 weather data array from ARCO

Return type:

xr.DataArray

classmethod available(time)[source]#

Checks if given date time is avaliable in the ARCO data source

Parameters:

time (datetime | np.datetime64) – Date time to access

Returns:

If date time is avaiable

Return type:

bool

Examples using earth2studio.data.ARCO#

Extending Data Sources

Extending Data Sources