era5

Central module containing all code dealing with importing era5 weather data.

class EgonEra5Cells(**kwargs)[source]

Bases: sqlalchemy.orm.decl_api.Base

Class definition of table supply.egon_era5_weather_cells.

geom
geom_point
w_id
class EgonRenewableFeedIn(**kwargs)[source]

Bases: sqlalchemy.orm.decl_api.Base

Class definition of table supply.egon_era5_renewable_feedin.

carrier
feedin
w_id
weather_year
class WeatherData(dependencies)[source]

Bases: egon.data.datasets.Dataset

Download weather data from ERA5 using atlite

This dataset downloads weather data for the selected representative weather year. This is done by applying functions from the atlite-tool.The downloaded wetaher data is stored into files within the subfolder ‘cutouts’.

Dependencies
Resulting tables
name: str = 'Era5'
version: str = '0.0.4'
create_tables()[source]
download_era5()[source]

Download weather data from era5

Returns

None.

import_cutout(boundary='Europe')[source]

Import weather data from cutout

Returns

cutout (atlite.cutout.Cutout) – Weather data stored in cutout

insert_weather_cells()[source]

Insert weather cells from era5 into database table

Returns

None.