Read HDF files
On 09/01/2011 05:20 PM, Arnaud Mosnier wrote:
Hi Geo UseRs, I am searching a way to read and manage HDF files in R (like files provided by the ocean color web site, http://oceancolor.gsfc.nasa.gov/). Thanks Arnaud [[alternative HTML version deleted]]
_______________________________________________ R-sig-Geo mailing list R-sig-Geo at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo
The answer can be found by googling for "R read hdf". That leads to the HDF5 package or building GDAL with HDF support. Alternatively, find a (command)-line tool which can translate HDF5 to geotiff or netCDF (e.g. gdal_translate or ) and then use readGDAL or the ncdf package. Paul
Paul Hiemstra, Ph.D. Global Climate Division Royal Netherlands Meteorological Institute (KNMI) Wilhelminalaan 10 | 3732 GK | De Bilt | Kamer B 3.39 P.O. Box 201 | 3730 AE | De Bilt tel: +31 30 2206 494 http://intamap.geo.uu.nl/~paul http://nl.linkedin.com/pub/paul-hiemstra/20/30b/770