Hi all,
Can someone make a suggestion on best to download data from terraclimate straight R and importing them from my computer
I have this @
download.file(url = 'http://thredds.northwestknowledge.net:8080/thredds/fileServer/TERRACLIMATE_ALL/data/TerraClimate_ppt_2015.nc',
destfile = 'ppt.nc')
ppt <- stack(x= "ppt.nc")
It keeps bring out this error
Error in ncdf4::nc_open(filename, readunlim = FALSE, suppress_dimvals = TRUE) :
Error in nc_open trying to open file ....Documents\ppt.nc (return_on_error= FALSE )
PS: When I download the data straight from their website to my computer(It works), but through R keeps failing. Downloading it by myself to my computer is going to be laborious most especially when I intended more multiple years of data.