使用R

时间:2016-03-18 20:49:12

标签: r raster netcdf r-raster

使用r raster package ver 2.5-2编写压缩的netcdf4文件时收到错误消息。

r <- raster(system.file("external/test.grd", package="raster"))
s <- stack(r, r*2)
writeRaster(s,"test.nc",format="CDF",compression=7)

错误:

 Error in R_nc4_create: Permission denied (creation mode was 4096)

或:

Error return from C call R_nc4_put_att_double for attribute _FillValue

0 个答案:

没有答案