Thanks Simon,

I was using ncdf and an old version of raster, and raster ( the old version)
threw an error
and suggested RNetCDF. Robert was kinf enough to point out that I had the
old version
of raster loaded and that fixed the problem.

I did note that while on the MAC using the package manager and installer
from the GUI
that I did have to exit and restart R to get the newer version of raster to
attach properly..
or for sessionInfo() to report the proper version.



On Mon, Aug 23, 2010 at 6:46 AM, Simon Urbanek
<simon.urbanek@r-project.org>wrote:

>
> 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@stat.math.ethz.ch
> > https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> >
> >
>
>

	[[alternative HTML version deleted]]

