A dataset plugin for climetlab for the dataset climetlab-plugin-a6/maelstrom-production-forecasts.
In this README is a description of how to get the CliMetLab Plugin for A6.
Via pip
pip install climetlab-maelstrom-power-production
or via poetry
git clone [email protected]:4castRenewables/climetlab-plugin-a6.git
cd climetlab-plugin-a6
poetry install --no-dev
There are five datasets:
maelstrom-constants-a-b
maelstrom-power-production
maelstrom-weather-model-level
maelstrom-weather-pressure-level
maelstrom-weather-surface-level
A detailed description of each dataset (variables, meta data etc.) is available here (see Section 3.6).
Constants used for calculation of pressure at intermediate model levels.
import climetlab as cml
production_data = cml.load_dataset("maelstrom-constants-a-b")
IFS Documentation – Cy47r1, Operational implementation 30 June 2020, Part III: Dynamics and Numerical Procedures, ECMWF, 2020, p. 6, Eq. 2.11
Power production data of wind turbines located in various regions of Germany.
The data were provided by NOTUS energy GmbH & Co. KG. For a detailed description see the link above.
import climetlab as cml
production_data = cml.load_dataset("maelstrom-power-production", wind_turbine_id=1)
The wind_turbine_id
is a number 1
to N
, where N
is the maximum number of currently available wind turbines.
Currently available: 4 wind turbines.
ECMWF IFS HRES model level data for whole Europe.
For a detailed description see the link above.
import climetlab as cml
weather_ml = cml.load_dataset("maelstrom-weather-model-level", date="2019-01-01")
Currently available dates:
2017-01-01
until2020-12-31
ECMWF IF HRES pressure level data for whole Europe.
For a detailed description see the link above.
import climetlab as cml
weather_pl = cml.load_dataset("maelstrom-weather-pressure-level", date="2019-01-01")
Currently available dates:
2017-01-01
until2020-12-31
ECMWF IFS HRES surface level data for whole Europe.
For a detailed description see the link above.
import climetlab as cml
weather_pl = cml.load_dataset("maelstrom-weather-surface-level", date="2019-01-01")
Currently available dates:
2017-01-01
until2020-12-31
See the demo notebooks here.
The climetlab python package allows easy access to the data with a few lines of code such as:
!pip install climetlab climetlab-maelstrom-power-production
import climetlab as cml
data = cml.load_dataset("maelstrom-weather-surface-level", date="2019-01-01")
data.to_xarray()
Before executing the notebooks, make sure to install the project and the notebook dependencies correctly
poetry install --extras notebooks