如何在R编程中使用lat-lon对netCDF数据(旋转网格)进行子集化?

时间:2017-05-12 06:57:01

标签: r subset netcdf

我希望将旋转的网格rlat-rlon子集化并转换为常规网格数据。 我用过" cmsaf" pacckage,但它给出了以下错误 -

box_mergetime("tas", wd, "tas_WAS-44_ICHEC-EC-EARTH_rcp45_r12i1p1_SMHI-RCA4_v2_day_20060101-20101231", "example", 69, 78.5, 22.5, 30)

获取文件信息

[1] "vobjtovarid4: error #F: I could not find the requsted var (or dimvar) in 
  the file!" 

[1] "var (or dimvar) name: longitude"

[1] "file name: C:/Users/Deepak/Documents/eg/tas_WAS-44_ICHEC-EC EARTH_rcp45_r12i1p1_SMHI-RCA4_v2_day_20060101-20101231.nc"

Error in vobjtovarid4(nc, varid, verbose = verbose, allowdimvar = TRUE) : 
  Variable not found

这里是样本数据文件的链接 -  https://drive.google.com/open?id=0B7kCnwkpTGrMRDRTaWpLNlNKMzQ

0 个答案:

没有答案