如何在 netcdf 文件中进行逆坐标变换?我有一个包含 75 个经度值和 36 个纬度值的网格:
nc<-create.n("filename.nc")
#Dimentions
dim.def.nc(nc,"lon",75)
dim.def.nc(nc,"lat",36)
dim.def.nc(nc,"time",365)
#Vars
var.def.nc(nc,"Observation","NC_FLOAT", c(1,0,2))
var.def.nc(nc,"lon","NC_FLOAT", c(0))
var.def.nc(nc,"lat","NC_FLOAT", c(1))
var.def.nc(nc,"time","NC_FLOAT", c(2))
(...)
根据unidata中的文档,应该可以让 netcdf 进行从 (lat,lon) 到 (x,y) 的逆变换,但我不知道如何执行此操作。我想将我的 lat long 网格转换为 Lambert Conformal 网格。