Re: [R] [ncdf4] error converting GEIA data to netCDF

2012-08-28 Thread Pascal Oettli
Hello, The following works fine for me: nc - nc_open(~/GEIA_N2O_oceanic.nc) emi_n2o - ncvar_get(nc, 'emi_n2o', start=c(1,1,1), count=c(-1,-1,1)) Regards, Pascal Le 28/08/2012 12:31, Tom Roche a écrit : summary: I can successfully ncvar_put(...) data to a file, but when I try to

[R] [ncdf4] error converting GEIA data to netCDF

2012-08-27 Thread Tom Roche
summary: I can successfully ncvar_put(...) data to a file, but when I try to ncvar_get(...) the same data, I get Error in if (nc$var[[li]]$hasAddOffset) addOffset = nc$var[[li]]$addOffset else addOffset = 0 : argument is of length zero How to fix or debug? details: R code @