Skip to content
Back to formatted view

Raw Message

Message-ID: <E5AC43BF-FAE8-4FEA-8286-AE0C1A3818AB@r-project.org>
Date: 2010-08-23T13:46:28Z
From: Simon Urbanek
Subject: NetCDF and raster on MAC
In-Reply-To: <AANLkTi=g1XG3jVvgPKv6UOmtO8hv=zRdke0rkxBvdqCQ@mail.gmail.com>

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
> 
>