[R-sig-Geo] netcdf file limitation

2014-12-04 Thread Jianhua Huang
Hi All: I am trying to write a 3-dimensional big netcdf file with the ncdf4 package. I found that when the length of the variable is larger than 2^31 (or file size larger than 16 GB), it will show an error ncvar_put doesn't support long vector yet. Is that the limitation of the ncdf4 package

Re: [R-sig-Geo] netcdf file limitation

2014-12-04 Thread Michael Sumner
It's a limitation of ncdf4 (that's why the error refers to ncvar_put). Just write the vector out in parts using the 'start' and 'count' arguments. There's plenty of examples of doing that in the help page for ncvar_put, though it's a bit abstract if you've not encountered that kind of thing