ropensci / rnoaa

R interface to many NOAA data APIs
https://docs.ropensci.org/rnoaa
Other
330 stars 84 forks source link

Download precipitation data between two dates #400

Closed FelipeCarrillo closed 3 years ago

FelipeCarrillo commented 3 years ago

This is not really an issue but a question. I need to download hourly or daily precipitation data from 2011 to 2020 from Prince William Sound, Alaska. I just dowloaded the 'rnoaa' package and going through the vignettes. It seems strighforward to download data using :

library(rnoaa)
cpc_prcp(date = "2005-07-09", us = TRUE)

However, I can't find a way to download data between two dates...eg. startdate=01/01/2011 and enddate=12/31/2020. Question; How do I include precipitation data between two dates inside 'cpc_prcp'? Thanks beforehand.

PS: It appears that http://www.ncdc.noaa.gov/cdo is down at the moment because I am getting Error 503