brry / rdwd

download climate data from DWD (German Weather Service)
https://bookdown.org/brry/rdwd
72 stars 13 forks source link

air_temperature history hourly data link is not working. #30

Closed NandhiniS08 closed 3 years ago

NandhiniS08 commented 3 years ago

Dear Berry,

I noticed that the historical links for air_temperature variable is not working

selectDWD(id = 5906,res = "hourly",var = 'air_temperature',per = 'h')

"ftp://opendata.dwd.de/climate_environment/CDC/observations_germany/climate/hourly/air_temperature/historical/stundenwerte_TU_05906_19480101_20191231_hist.zip"

The above ftp link doesnot exsist in Opendwd FTP portal

When i checked the ftp data portal, the data till 2020 is now moved to historical folder. ftp://opendata.dwd.de/climate_environment/CDC/observations_germany/climate/hourly/air_temperature/historical/stundenwerte_TU_05906_19480101_20201231_hist.zip

This link works. Can you update the selectDWD function to give appropriate links?

brry commented 3 years ago

Hey! The current version of rdwd already contains the updated links. Just run

rdwd::updateRdwd()

and you should be good to go :). Feel free to reopen the issue if needed. Regards, Berry

NandhiniS08 commented 3 years ago

Thanks for the update! it worked