提取降水和温度数据
如果研究尺度大经常会看到这样的话
A global climate database (Worldclim, Version 2.0) was used when the original climatic information (i.e. MAT and MAP) was unavailable. A global high-resolution (250-m) gridded soil property database (http://data.isric.org) was used to obtain some soil properties because these were unavailable from most published studies.
那么这句话要怎么实现呢?
两种方法
第一种方法:R语言直接提取
用r语言进行提取数据首先需要选取点的经纬度坐标。WorldClim使用的WGS 84 lat/lon (EPSG 4326),经纬度调整成小数形式。
代码分析
#载入包如果没有先进行安装install.packages("raster")
library(raster)
library(sp)
#下载数据,还有