Closed brry closed 2 years ago
data(fileIndex, package="rdwd")
id <- unique(fileIndex$id[fileIndex$var=="more_precip"])[1:100]
hist <- rdwd::selectDWD(id=id, res="daily", var="more_precip", per="h", outvec=TRUE)
rece <- rdwd::selectDWD(id=id, res="daily", var="more_precip", per="r", outvec=TRUE)
hist <- hist[hist!=rdwd::dwdbase] # 99 files
rece <- rece[rece!=rdwd::dwdbase] # 23 files
hire <- rdwd::selectDWD(id=id, res="daily", var="more_precip", per="hr") # length 100
# would be length 122 c(hist,rece)
currently returns
dwdbase/daily/kl/historical/**_hist.zip
anddwdbase/monthly/kl/recent/**_akt.zip
Should per="hr" expand to all combinations?
Does this extend to id vectors?