Error when trying to import NetCDF to R

前端 未结 2 1282
醉梦人生
醉梦人生 2021-01-19 18:22

I\' struggeling to open a NetCDF file in R. When I try to open it with

library(ncdf)
# read in NetCDF file
maize.nc<-open.ncdf(\"C:/Users/Jo/Desktop/pft_         


        
2条回答
  •  失恋的感觉
    2021-01-19 18:47

    I think that the harvest maize netcdf file is simply corrupt, or not even a netcdf file (file name does not say anything about the real contents). Try and open it in NCView or dump using ncdump, if those tool also fails your file is corrupt or incomplete. In addition, if you want us to help, you need to make your file available.

提交回复
热议问题