使用栅格 getData 函数下载 worldclim 数据时出错

时间:2021-08-01 21:48:09

标签: r r-raster

有谁知道worldclim网站有什么变化吗 我正在尝试使用 worldclim 下载天气数据 getData 包中的 raster 函数但遇到以下错误:

library(raster)

clim=getData('worldclim', var='bio', res=2.5) 

trying URL 'https://biogeo.ucdavis.edu/data/climate/worldclim/1_4/grid/cur/bio_2-5m_bil.zip'
  Error in utils::download.file(url = aurl, destfile = fn, method = "auto",  : 
    cannot open URL 'https://biogeo.ucdavis.edu/data/climate/worldclim/1_4/grid/cur/bio_2-5m_bil.zip'
  In addition: Warning message:
  In utils::download.file(url = aurl, destfile = fn, method = "auto",  :
    InternetOpenUrl failed: 'A connection with the server could not be established'

我的 R 会话是

R version 4.1.0 (2021-05-18)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 18363)

Matrix products: default

0 个答案:

没有答案