Re: [R-sig-Geo] What is the latest re: reading HDF files with R?

2007-01-10 Thread Andy Jacobson
Hi Rick, We've had success building an "hdfdump"--which is just ncdump from the standard netcdf package, configured to link with the hdf4 libs, then: hdfdump foo.hdf|ncgen -b -o foo.nc Then, of course, the excellent ncdf package can read it all in. Best of luck, Andy -- Andy Jacobson [EM

Re: [R-sig-Geo] What is the latest re: reading HDF files with R?

2007-01-10 Thread Michael Sumner
Rick Reeves wrote: > > Greetings: > > This week I am working with HDF format files containing ocean color > imagery (CZCS, SeaWIFS) secured from NASA GSFC, > and would like to bring the image maps into the R environment. I have had success using rgdal compiled on Windows against FWTools. I have

Re: [R-sig-Geo] What is the latest re: reading HDF files with R?

2007-01-10 Thread Tim Keitt
Rick, Looks like GDAL supports HDF4/5 format so you should be able to read data using rgdal. I've not tried it myself. Let me know what you find. Cheers, Tim On 1/10/07, Rick Reeves <[EMAIL PROTECTED]> wrote: > > > Greetings: > > This week I am working with HDF format files containing ocean colo

Re: [R-sig-Geo] What is the latest re: reading HDF files with R?

2007-01-10 Thread Roger Bivand
On Wed, 10 Jan 2007, Rick Reeves wrote: > Good idea, Scott. I had forgotten about rgdal. Doesen't come up in the R > topic search. RR You'll need a build of the GDAL library against HDF - which platform are you using? I believe these formats can be accessed from GDAL, but confirmation would be w

Re: [R-sig-Geo] What is the latest re: reading HDF files with R?

2007-01-10 Thread Rick Reeves
Good idea, Scott. I had forgotten about rgdal. Doesen't come up in the R topic search. RR Scott W Mitchell wrote: I have never done this, so may be missing something obvious, but can you not use rgdal ? GDAL lists HDF4 as a supported format. Cheers, Scott On 10-Jan-07, at 14:49, Rick Reeves

Re: [R-sig-Geo] What is the latest re: reading HDF files with R?

2007-01-10 Thread Scott W Mitchell
I have never done this, so may be missing something obvious, but can you not use rgdal ? GDAL lists HDF4 as a supported format. Cheers, Scott On 10-Jan-07, at 14:49, Rick Reeves wrote: > > Greetings: > > This week I am working with HDF format files containing ocean color > imagery (CZCS, Se

[R-sig-Geo] What is the latest re: reading HDF files with R?

2007-01-10 Thread Rick Reeves
Greetings: This week I am working with HDF format files containing ocean color imagery (CZCS, SeaWIFS) secured from NASA GSFC, and would like to bring the image maps into the R environment. One way I have done this is to use the SeaDAS software to extract a 2-dim binary floating point matrix

Re: [R-sig-Geo] sp for R V2.1.0

2007-01-10 Thread David Forrest
On Wed, 10 Jan 2007, Stephane Dray wrote: > Dear David, > you can simply add the line : > > deb http://cran.R-project.org/bin/linux/debian stable/ > > to your sources.list. You can then obtain newer R versions for stable Debian. Perfect. That seems exactly like what I want. Thanks, Dave > > S

Re: [R-sig-Geo] sp for R V2.1.0

2007-01-10 Thread Roger Bivand
On Tue, 9 Jan 2007, Edzer J. Pebesma wrote: > David Forrest wrote: > > Hi All, > > > > Does the install.packages('sp') on my R V2.1.0 (Debian Stable) report: > > > > no package 'sp' at the repositories in: download.packages(pkgs, destdir > > = tmpd, available = available > > > > ... becaus