ncols 是 r 栅格中的纬度还是经度?

时间:2021-07-05 10:42:47

标签: r raster latitude-longitude

我有一个栅格,我想找出其中的纬度和经度的大小。我正在将 netcdf 中的数据集插值到与栅格相同的大小,我需要知道将插值设置为多少个网格单元我的 netcdf 文件。

当我打开栅格时,我看到数据集的网格大小为 2160 x 1080(此处提供的 tmin 的 10 分钟 Worldclim 数据集:https://www.worldclim.org/data/worldclim21.html)。

library(raster)
setwd("WorldClim 10min/wc2.1_10m_tmin/")
imported_raster=raster("wc2.1_10m_tmin_01.tif")
View(imported_raster)

我看不到 'ncols' (2160) 或 'nrows' (1080) 与纬度或经度相关联的位置。哪一个是 Lat,哪一个是 Long? enter image description here

0 个答案:

没有答案
相关问题