[GRASSLIST:6147] Re: r.in.gdal and HDF import

[don't know; fwd -> grasslist]

Begin forwarded message:

Date: Sun, 13 Mar 2005 23:24:52 +0100
From: <torkild.tveraa@nina.no>
To: <hamish_nospam@yahoo.com>
Subject: SV: SV: [GRASSLIST:6142] r.in.gdal and HDF import

It's not listed there....

gdalinfo in the FWTools works well, but not within GRASS:

GRASS [/c/kart/sst] -> gdalinfo 199512h09ma-gdm.hdf
ERROR 4: `199512h09ma-gdm.hdf' not recognised as a supported file format.
GDALOpen failed - 4
`199512h09ma-gdm.hdf' not recognised as a supported file format.

Unfortunately, I'm too stupid to figure out this myself! : )

  -----Opprinnelig melding-----
  Fra: Hamish [mailto:hamish_nospam@yahoo.com]
  Sendt: su 13.03.2005 23:15
  Til: Tveraa, Torkild
  Kopi:
  Emne: Re: SV: [GRASSLIST:6142] r.in.gdal and HDF import
  
  > I've figured out that gdal supports HDF-files, but for some strange
  > reason my version of GRASS does not:
  
  really? try using -f to test from within grass:
  
  r.in.gdal -f input=test output=test | grep HDF
  
  If it is listed there, then you should have support, just need to figure
  out the correct format for the input string (not always obvious).
  (see Grit Schuster's email)
  
  what about trying to look at the HDF file with gdalinfo?
  
  Hamish