[GRASSLIST:278] importing HDF

Hi people,
I have to import HDF files in GRASS 6.0, do you know how to do it, please?
Thanx,
Riccardo

Hello riccardo,

On Tue, 21 Mar 2006 14:52:00 +0100 "riccardo biondi"
<riccardobiondi@hotmail.com> wrote:

Hi people,
I have to import HDF files in GRASS 6.0, do you know how to do it,
please? Thanx,

Since GRASS uses GDAL for data-import, you should have a look at the
gdal-website[1] how to make HDF-data work with GDAL.
AFAIK GDAL needs to compile against the HDF-libraries in order to
support HDF.

gdalinfo --formats should give HDF4 oder HDF5 in its output.

If this is the case, you can user r.in.gdal to import the data.

Hope that helps.

Best
  Stephan

[1] http://www.gdal.org
[2] http://www.gdal.org/formats_list.html
--
GDF Hannover - Solutions for spatial data analysis and remote sensing
Hannover Office - Mengendamm 16d - D-30177 Hannover
Internet: www.gdf-hannover.de - Email: holl@gdf-hannover.de
Phone : ++49-(0)511.39088507 - Fax: ++49-(0)511.39088508

If you are trying to import a Terra ASTER hdf file, use r.in.aster. This
will import and georeference the aster image.

Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
Arizona State University
Tempe, AZ 85287-2402

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

From: Stephan Holl <holl@gdf-hannover.de>
Date: Tue, 21 Mar 2006 15:19:54 +0100
To: riccardo biondi <riccardobiondi@hotmail.com>
Cc: <GRASSLIST@baylor.edu>
Subject: [GRASSLIST:279] Re: importing HDF

Hello riccardo,

On Tue, 21 Mar 2006 14:52:00 +0100 "riccardo biondi"
<riccardobiondi@hotmail.com> wrote:

Hi people,
I have to import HDF files in GRASS 6.0, do you know how to do it,
please? Thanx,

Since GRASS uses GDAL for data-import, you should have a look at the
gdal-website[1] how to make HDF-data work with GDAL.
AFAIK GDAL needs to compile against the HDF-libraries in order to
support HDF.

gdalinfo --formats should give HDF4 oder HDF5 in its output.

If this is the case, you can user r.in.gdal to import the data.

Hope that helps.

Best
Stephan

[1] http://www.gdal.org
[2] http://www.gdal.org/formats_list.html
--
GDF Hannover - Solutions for spatial data analysis and remote sensing
Hannover Office - Mengendamm 16d - D-30177 Hannover
Internet: www.gdf-hannover.de - Email: holl@gdf-hannover.de
Phone : ++49-(0)511.39088507 - Fax: ++49-(0)511.39088508