era5

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

class EgonEra5Cells(**kwargs)[source]

Bases: sqlalchemy.ext.declarative.api.Base

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

Bases: sqlalchemy.ext.declarative.api.Base

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 = 'Era5'
version = '0.0.2'
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.