@@ -136,53 +136,23 @@ Currently, Persefone uses historical weather data from the closest weather stati
...
@@ -136,53 +136,23 @@ Currently, Persefone uses historical weather data from the closest weather stati
as its weather input. (In future, this may be changed to a more detailed raster
as its weather input. (In future, this may be changed to a more detailed raster
input, which could then also provide future weather predictions under climate change.)
input, which could then also provide future weather predictions under climate change.)
Weather data can be downloaded from the [German weather service (DWD)](https://www.dwd.de/DE/leistungen/cdc/cdc_ueberblick-klimadaten.html?nn=16102).
Weather data can be downloaded from the [German weather service (DWD)](https://www.dwd.de/DE/leistungen/cdc/cdc_ueberblick-klimadaten.html?nn=16102).
The relevant data are in the folder [`daily/kl/historical`](https://opendata.dwd.de/climate_environment/CDC/observations_germany/climate/daily/kl/historical/).
The description of this data set and the list of weather stations can be found in the
The description of these data sets and the list of weather stations can be found in the
Persefone repository, in the `docs` folder (or downloaded from the link above).
Persefone repository, in the `docs` folder (or downloaded from the link above).
Using the list of weather stations, select the one closest to the area of study.
Using the list of weather stations, select the one closest to the area of study.
Note that not all stations were continuously in operation; make sure that the selected
Note that not all stations were continuously in operation; make sure that the selected
station covers the years of interest.
station covers the years of interest. The currently included regions have the following
station codes:
-**Region Jena:** station number 02444 ("Jena (Sternwarte)")
-**Region Jena:** station number 02444 ("Jena (Sternwarte)")
-**Region Eichsfeld:**
-**Region Eichsfeld:** station number 02925 ("Leinefelde")
-**Region Thüringer Becken:** station number 00896 ("Dachwig")
-**Region Thüringer Becken:** station number 00896 ("Dachwig")
-**Region Hohenlohe:**
-**Region Hohenlohe:** station number 03761 ("Oehringen")
-**Region Bodensee:**
-**Region Bodensee:** station number 06263 ("Singen")
-**Region Nördlicher Oberrhein:**
-**Region Nördlicher Oberrhein:** station number 05275 ("Waghäusel-Kirrlach")
From the link above, download the ZIP file associated with the station number.
The script `data/regions/auxiliary/extract_weather_data.R` can be used to download
Check the included meta-data if there is any important missing data, or other relevant
and process the data into the format needed by Persefone. This uses the
information (e.g. the station moved position).
[`rdwd`](https://bookdown.org/brry/rdwd/) package. To use it, simply specify the
desired `region`, adding its ID to the `stationid` list if necessary. The produced
Then use `data/extract_weather_data.R` to process the data into the format needed
CSV file can be copied into the respective region folder.