> kwb.dwd:::list_daily_grids_germany_tgz("x")
Error in match.arg(variable, c("evapo_p", "evapo_r", "frost_depth", "soil_moist", :
'arg' should be one of “evapo_p”, “evapo_r”, “frost_depth”, “soil_moist”, “soil_temperature_5cm”
Unfortunately, precipitation data are not available on a daily basis.
> kwb.dwd:::list_monthly_grids_germany_asc_gz(variable = "x")
Error in match.arg(variable, c("air_temperature_max", "air_temperature_mean", :
'arg' should be one of “air_temperature_max”, “air_temperature_mean”, “air_temperature_min”, “drought_index”, “evapo_p”, “evapo_r”, “frost_depth”, “precipitation”, “soil_moist”, “soil_temperature_5cm”, “sunshine_duration”
Actually hyras_de offers these now:
https://opendata.dwd.de/climate_environment/CDC/grids_germany/daily/hyras_de/air_temperature_min/
https://opendata.dwd.de/climate_environment/CDC/grids_germany/daily/hyras_de/air_temperature_mean/
https://opendata.dwd.de/climate_environment/CDC/grids_germany/daily/hyras_de/air_temperature_max/
https://opendata.dwd.de/climate_environment/CDC/grids_germany/daily/hyras_de/humidity/
https://opendata.dwd.de/climate_environment/CDC/grids_germany/daily/hyras_de/precipitation/
https://opendata.dwd.de/climate_environment/CDC/grids_germany/daily/hyras_de/radiation_global/
https://opendata.dwd.de/climate_environment/CDC/grids_germany/monthly/hyras_de/precipitation/
https://opendata.dwd.de/climate_environment/CDC/grids_germany/multi_annual/hyras_de/precipitation/
These were for example used here:
I extended
read_daily_data_over_shape()to support all possible variables. The functionlist_daily_grids_germany_tgz()tells you which variables are available:Unfortunately, precipitation data are not available on a daily basis.
I added a function
read_monthly_data_over_shape()that can provide precipitation data as well as further variables. The functionlist_monthly_grids_germany_asc_gz()informs about possible variables:Finally, our package fhpredict has a function to read (and cut) current precipitation data (RADOLAN), see: https://kwb-r.github.io/fhpredict/articles/tutorial.html#spacially-select-and-aggregate-rain-data
Altogether: Too many different functions that do too many different things...
Originally posted by @hsonne in #37 (comment)