barrks_data {barrks} | R Documentation |
Load sample data
Description
The package comes with sample data that allow the application of all models available. The following data sets are available:
Usage
barrks_data(dataset = "raster")
Arguments
dataset |
Choose the data set that should be returned. |
Details
-
raster
Contains a list of raster weather datasets for a sample area. The data was taken from Deutscher Wetterdienst (DWD). -
stations
Contains sample station weather data for some cities in Germany. The data was taken from Deutscher Wetterdienst (DWD). Missing global radiation values were replaced by the mean value of the other stations. -
station_coords
Contains the coordinates (longitude/latitude) of the stations that are included in thestations
data set. The data was taken from Deutscher Wetterdienst (DWD).
Value
The respective data set. Can be a list of SpatRasters (for
dataset = 'raster'
) or a data frame.
Source
-
https://opendata.dwd.de/climate_environment/CDC/grids_germany/daily/hyras_de/
-
https://opendata.dwd.de/climate_environment/CDC/observations_germany/climate/daily/kl/historical/
-
https://opendata.dwd.de/climate_environment/CDC/observations_germany/climate/daily/solar/
Examples
# plot first layer of the minimum temperature of the sample raster data
terra::plot(barrks_data()$tmin[[1]])
# print the first lines of the sample station data
head(barrks_data('stations'), 10)
# print the coordinates of the sample stations
barrks_data('station_coords')