Closed Canderson156 closed 1 year ago
Hi everyone. I'm getting the same error as @Canderson156 when downloading data from WorldClim, SoilGrids and Landcover. Here it's an example:
get.crop = landcover(var = "cropland", path = tempdir()) trying URL 'https://geodata.ucdavis.edu/geodata/landuse/WorldCover_cropland_30s.tif' Error in utils::download.file(url = url, destfile = filename, quiet = quiet, : cannot open URL 'https://geodata.ucdavis.edu/geodata/landuse/WorldCover_cropland_30s.tif' In addition: Warning message: In utils::download.file(url = url, destfile = filename, quiet = quiet, : URL 'https://geodata.ucdavis.edu/geodata/landuse/WorldCover_cropland_30s.tif': Timeout of 900 seconds was reached Error in .downloadDirect(url, filepath, ...) : download failed Please help us @rhijmans @Nowosad @AramburuMerlos !
Hi @vlonde -- it seems like a server issue (I am also unable to download this dataset).
Hi @Nowosad It's strange because none of the databases is working (WorldClim, SoilGrids, landcover)
@Canderson156: apologies that it took me so long. I think what happened is that there was a failed download that was cached; and therefore all subsequent downloads of the same file also failed. I have now changed a setting to prevent that.
Based on the help file, I believe I've specified all of the inputs correctly, and the function does not seem to be able to retrieve any of these files: