[R] Reading *.nc4 data

John Wasige johnwasige at gmail.com
Mon Jan 26 19:59:15 CET 2015


Dear all,

i get the following error when reading *.nc4 data:

Error in R_nc_open: No such file or directoryError in
open.ncdf("D:/Ag/rst_1980_prate.nc4") :
  Error in open.ncdf trying to open file D:/Ag/rst_1980_prate.nc4


library("ncdf")
prec <- open.ncdf("D:/Ag/rst_1980_prate.nc4")
lons <- get.var.ncdf(prec,"lon")
lats <- get.var.ncdf(prec,"lat")
time <- get.var.ncdf(prec,"time")

What could be the problem

thanks for your help
-- 
John

	[[alternative HTML version deleted]]



More information about the R-help mailing list