energy_data_retrieval.sources.open_meteo.snow#

ERA5-Land physical ground snow depth via Open-Meteo’s historical API.

class energy_data_retrieval.sources.open_meteo.snow.SnowDepthChunk(site: 'Site', frame: 'pd.DataFrame', request: 'RequestRecord', cell_latitude: 'float', cell_longitude: 'float')[source]#

Bases: object

Parameters:
  • site (Site)

  • frame (DataFrame)

  • request (RequestRecord)

  • cell_latitude (float)

  • cell_longitude (float)

site: Site#
frame: DataFrame#
request: RequestRecord#
cell_latitude: float#
cell_longitude: float#
class energy_data_retrieval.sources.open_meteo.snow.OpenMeteoSnowClient(http: 'HTTPClient')[source]#

Bases: object

Parameters:

http (HTTPClient)

http: HTTPClient#
hourly_depth(site, start, end)[source]#

Fetch 1-366 days of ERA5-Land instantaneous physical depth, m -> cm.

Explicit era5_land model, nearest cell, no elevation downscaling and UTC. No endpoint averaging or extra day: the thesis sums hourly depth samples. ERA5-Land is an alternative to the ERA5 product used by the thesis; never describe this as unconverted native ERA5 snow water equivalent. Open-Meteo documents snow-depth overestimation. Public service terms apply.

Parameters:
  • site (Site)

  • start (date)

  • end (date)

Return type:

SnowDepthChunk