[GRASS5] Problems with importing HDF to 4.3
neteler at itc.it
Fri Nov 30 17:02:59 EST 2001
On Thu, Nov 29, 2001 at 05:59:26PM +0200, juhana nieminen wrote:
> Dear list,
> There seems to be something strange with the importing of HDF's into
> Grass4.3 - the data in the imported image seems to be transformed for
> some reason. Below is a sample of values shown at the same points first
> using an external HDF viewer (HDF-look/Msphinx) and then in GRASS. I
> don't see any logic between the input and output values... any ideas?
> > Msphinx GRASS
> > 6971 15131
> > 6014 32279
> > 5922 8727
> > 5775 36630
> > 5771 35606
> > 5556 46101
> > 5409 8469
> > 6062 52247
> > 5663 7958
> > 5287 42772
> > 5504 32789
> > 5080 55315
well, HDF is a problem currently. The 4.3 support HDF3.2 (as far as I
remember), meanwhile HDF5 is out. Which sort of data do you import?
I am working with ASTER sometimes, the come in HDF-EOS (just another HDF).
For that no direct support is present yet, we all hope for GDAL (fundings
directly to Frank Warmerdam please).
Meanwhile you may use the "hdf2bin" program which is available from
Then use r.in.bin (but in GRASS 5!). That's a working solution which
needs some extra efforts for most as it is only availabe on Windows and
Solaris. I have received the source code from them, but wasn't able to
manage the compilation on Linux yet.
If you all write to them, they may release a Linux version, too...
All the data formats are a bit annoying, but we have to live with
More information about the grass-dev