No problems; sp in csv now has this, the next release will have it.
Torleif Markussen Lunde wrote:
Hi
To read netcdf data (or any other gridded spatial time data) I find it
convenient to define new classes Spatial3dArray and Spatial4dArray.
setClass(Spatial3dArray,
Wow, this is great - I was thinking about this just yesterday.
Torleif: do you have an opinion on which NetCDF path is the most
useful for R with sp? RNetCDF or ncdf? GDAL is workable but takes
extra effort to build and then reconstruct 3d/4d from 2d bands. (I use
Windows mostly)
I use the
Hi Mike
At the moment I have written wrapper functions around ncdf. As in get.var.ncdf
you can subset which area to read, and which (continuous) time dimensions you
want to read. At the moment the functions (to correctly return time, lat and
long) are limited to output from the WRF-model