Earth2Studio is now OSS!

earth2studio.data.HRRR#

class earth2studio.data.HRRR(cache=True, verbose=True)[source]#

High-Resolution Rapid Refresh (HRRR) is a North-American weather forecast model with hourly data-assimilation developed by NOAA. This data source is provided on a Lambert conformal 3km grid at 1-hour intervals. The spatial dimensionality of HRRR data is [1059, 1799].

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 HRRR and not predicted time steps.

__call__(time, variable)[source]#

Retrieve HRRR initial data to be used for initial conditions for the given time, variable information, and optional history.

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 HRRR lexicon.

Returns:

HRRR weather data array

Return type:

xr.DataArray

classmethod available(time)[source]#

Checks if given date time is avaliable in the HRRR store

Parameters:

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

Returns:

If date time is avaiable

Return type:

bool