[GRASSLIST:6142] r.in.gdal and HDF import

I'm sorry for being such a pain sending this question both to the winGRASS and the GRASS users list. I promise to improve in the future : )

Well, I'm trying to import sea surface temperature data obtained in the HDF-format from NOAA using grass6.0.cvs/cygwin running on Windows XP, but the following message appear:

ERROR 4: `198501h09ma-gdm.hdf' not recognised as a supported dataset name.

I’ve been through quite a few internet pages this weekend, searching for some way to get around this problem, but I’ve been unsuccessful so far : ( Is there anybody out there who knows how I could get around this problem :slight_smile:

Thanks in advance,

Torkild

Hi,

have a look at http://www.gdal.org/frmt_hdf4.html.

Use gdalinfo to list all multidimensional subdatasets from
the input HDF file.
Then choose the subdateset, which you'd like to import. You
should provide exactly the contents of the line marked
SUBDATASET_n_NAME to GDAL, including the HDF4_SDS: prefix
as
raster file to be imported.

like this:
HDF4_SDS:MODIS_L1B:GSUB1.A2001124.0855.003.200219309451.hdf:2

Hope this will help you,
Grit

On Sun, 13 Mar 2005 11:53:21 +0100
torkild.tveraa@nina.no wrote:

I'm sorry for being such a pain sending this question
both to the winGRASS and the GRASS users list. I promise
to improve in the future : )

Well, I'm trying to import sea surface temperature data
obtained in the HDF-format from NOAA using
grass6.0.cvs/cygwin running on Windows XP, but the
following message appear:

ERROR 4: `198501h09ma-gdm.hdf' not recognised as a
supported dataset name.

I’ve been through quite a few internet pages this
weekend, searching for some way to get around this
problem, but I’ve been unsuccessful so far : ( Is there
anybody out there who knows how I could get around this
problem :slight_smile:

Thanks in advance,

Torkild

Look at the r.in.aster script for a way to use gdalwarp within a grass
environment to read ASTER HDF files into GRASS and georeference them.
Something along the lines of what I did in this script should be relevant to
the NOAA data too.

Michael
____________________
C. Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
PO Box 872402
Arizona State University
Tempe, AZ 85287-2402
USA

Phone: 480-965-6262
Fax: 480-965-7671
www: <www.public.asu.edu/~cmbarton>

From: <torkild.tveraa@nina.no>
Date: Sun, 13 Mar 2005 11:53:21 +0100
To: <grasslist@baylor.edu>
Subject: [GRASSLIST:6142] r.in.gdal and HDF import

I'm sorry for being such a pain sending this question both to the winGRASS and
the GRASS users list. I promise to improve in the future : )

Well, I'm trying to import sea surface temperature data obtained in the
HDF-format from NOAA using grass6.0.cvs/cygwin running on Windows XP, but the
following message appear:

ERROR 4: `198501h09ma-gdm.hdf' not recognised as a supported dataset name.

I¹ve been through quite a few internet pages this weekend, searching for some
way to get around this problem, but I¹ve been unsuccessful so far : ( Is there
anybody out there who knows how I could get around this problem :slight_smile:

Thanks in advance,

Torkild