rspatial / raster

R raster package https://rspatial.github.io/raster/reference/raster-package.html
GNU General Public License v3.0
161 stars 52 forks source link

cannot open URL 'https://biogeo.ucdavis.edu/data/rspatial/rsdata.zip' #338

Open Mukhtabdi opened 3 months ago

Mukhtabdi commented 3 months ago

Hi, I am having message error when trying to download data for Remote Sensing Image Analysis data .

trying URL 'https://biogeo.ucdavis.edu/data/rspatial/rsdata.zip' Error in download.file("https://biogeo.ucdavis.edu/data/rspatial/rsdata.zip", : cannot open URL 'https://biogeo.ucdavis.edu/data/rspatial/rsdata.zip' In addition: Warning message: In download.file("https://biogeo.ucdavis.edu/data/rspatial/rsdata.zip", : URL 'https://biogeo.ucdavis.edu/data/rspatial/rsdata.zip': Timeout of 60 seconds was reached

Any solution?

TheTams commented 3 months ago

I am unsure if this is related, but I am also having difficulty downloading data.

bio1 <- getData('worldclim', var="bio", res = 0.5, lon=-143, lat=69.5)
trying URL 'https://biogeo.ucdavis.edu/data/climate/worldclim/1_4/tiles/cur/bio_01.zip'
Error in utils::download.file(url = aurl, destfile = fn, quiet = FALSE,  : 
  cannot open URL 'https://biogeo.ucdavis.edu/data/climate/worldclim/1_4/tiles/cur/bio_01.zip'
In addition: Warning messages:
1: In getData("worldclim", var = "bio", res = 0.5, lon = -143, lat = 69.5) :
  getData will be removed in a future version of raster
. Please use the geodata package instead
2: In utils::download.file(url = aurl, destfile = fn, quiet = FALSE,  :
  URL 'https://biogeo.ucdavis.edu/data/climate/worldclim/1_4/tiles/cur/bio_01.zip': Timeout of 1200 seconds was reached