NetCDF and raster on MAC
On Aug 22, 2010, at 3:14 PM, steven mosher wrote:
I'm looking for some examples of how to read a NetCDF file with raster directly. The manual is a bit terse on the matter. The dats in question is a 3D (lon,lat,time) 72*36, 161 "bands" On the MAC I get a request to load RNetCDF, which is not available in Binary. I found a few mails on geting RNetCDF onto the MAC (and udunits as well)
FWIW: the currently supported packages for handling of netCDF are ncdf and ncdf4 - both available for Mac. [I avoid netCDF where I can so I cannot help you with your actual question and can only suggest ncdf docs]. Cheers, Simon
Failing a direct method, I suppose, I can just read the file into an array and the turn that into a multi band raster.. TIA [[alternative HTML version deleted]]
_______________________________________________ R-SIG-Mac mailing list R-SIG-Mac at stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-mac