【发布时间】:2019-02-24 02:43:05
【问题描述】:
我有每日温度和降水数据的 netcdf 文件 如何更改 netcdf 的投影?
我曾尝试使用光栅函数来读取文件 并用投影仪重新投影?
Code_used
a <-raster(file.nc)
cr1<-"+proj=longlat +datum=NAD83 +no_defs+ellps=GRS80 +towgs84=0,0,0"
projectRaster(a, cr1,res = 0.04166667)
错误_
(函数(类,fdef,mtable)中的错误: 无法为签名“字符”找到函数“res”的继承方法 另外:警告信息: 在 min(dim(to)[1:2]) 中:min 没有非缺失参数;返回Inf
【问题讨论】:
标签: r netcdf map-projections reprojection-error