Skip to content

OPeNDAP access with R

3 messages · Phil Wiles, Roy Mendelssohn - NOAA Federal, Michael Sumner

#
The package ncdf4  (http://cran.r-project.org/web/packages/ncdf4/index.html) can access remote OpeNDAP data services.  If you use Windows, the author has a binary package on his site.

Also, if you want a GUI that works with R and allows you to visually select the space-time slice you want, try the Environmental Data Connector for R (http://www.pfeg.noaa.gov/products/EDC/EDCdownloads.html)

-Roy
On Dec 13, 2011, at 11:50 AM, Phil Wiles wrote:

            
#
GDAL can do it, and so then can the rgdal package if you can compile
against a GDAL including the OpenDAP driver. You get each 2+D-array
(subdataset in GDAL terms) flattened into a series of 2D rasters where
each slice in higher dimensions is an attribute on the raster, but
that often is quite useable.

(I see Roy Mendelssohn points out that ncdf4 can do it, which I did
not know - that is good to hear.)

Cheers, Mike.
On Wed, Dec 14, 2011 at 6:50 AM, Phil Wiles <philip.wiles at gmail.com> wrote: