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
Thanks,
Juhana
--
-Juhana Nieminen, MSc.----------------------------------------------
Division of Environmental Biology,GIS Laboratory
P.O.Box 44 (Jyrangontie 2) tel: +358-9-191 50054
FIN-00014 University of Helsinki fax: +358-9-191 50048
Finland http://ginkgo.pc.helsinki.fi
Hi Juhana,
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
Thanks,
Juhana
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
here:
http://glcf.umiacs.umd.edu/library/software/HDFtoBG.html
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
this fact.
Good luck,
Markus