Skip to content

getData function not working #191

Description

@seandres11

Hi!

I am having issues downloading worldclim data through the raster package.

See code below for error message, and let me know if I can provide any other information to help!

r<-getData('CMIP5', var='bio', res=2.5, rcp=85, model="CN" , year=70, lon=151.0034, lat=-33.8136, download=TRUE)
trying URL 'https://biogeo.ucdavis.edu/data/climate/cmip5/2_5m/cn85bi70.zip'
Content type 'application/zip' length 183455516 bytes (175.0 MB)

downloaded 8.1 MB

Error in utils::download.file(url = aurl, destfile = fn, method = "auto", :
download from 'https://biogeo.ucdavis.edu/data/climate/cmip5/2_5m/cn85bi70.zip' failed
In addition: Warning messages:
1: In utils::download.file(url = aurl, destfile = fn, method = "auto", :
downloaded length 8454144 != reported length 183455516
2: In utils::download.file(url = aurl, destfile = fn, method = "auto", :
URL 'https://data.biogeo.ucdavis.edu/data/climate/cmip5/2_5m/cn85bi70.zip': Timeout of 60 seconds was reached

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions