Skip to content

CDS_ERA5

GlobalERA5Copernicus

Import path: earth2studio.data.CDS_ERA5

View source on GitHub

Documentation

ERA5 reanalysis data served from the Climate Data Store (CDS). This data source requires users to have a CDS API access key which can be obtained for free on the CDS webpage.

Parameters:

  • cache (bool, default: True ) –

    Cache data source on local memory, by default True

  • verbose (bool, default: True ) –

    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 information on the data repository, registration, and authentication can be referenced here:

__call__

__call__(
    time: datetime | list[datetime] | TimeArray,
    variable: str | list[str] | VariableArray,
) -> DataArray

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 CDS_ERA5Lexicon.

Returns:

  • DataArray –

    ERA5 weather data array from CDS_ERA5