[GRASS-user] importing L1G-data into GRASS
Glynn Clements
glynn at gclements.plus.com
Thu Oct 2 17:29:23 EDT 2008
rosa wrote:
> i'm new on this list since yesterday.
> some postgraduates are trying to introduce GRASS in our university and so I'm
> writing one of the first thesis' with GRASS. Unfortunately nobody here knows
> the program really well.
>
> I bought a landsat scene, recieved it in hdf.L1G-format and have problems
> importing landsat the hdf.L1G-data into GRASS. r.in.bin does
> somehow work, but the channels it imports are severely damaged. instead of
> having the normal black/white picture, the chanels are only green and yellow
> and it's not possible to combine them, f.e. with r.composite.
>
> does anybody know the problem?
The default colour table is "rainbow". If you want grey-scale, use
r.colors with color= grey, grey.eq, grey255, or (if you need to set
the black/white values explicitly) custom rules.
Also, I suspect that the preferred utility for importing such data is
r.in.gdal (assuming that the GDAL library includes HDF support; use
"gdalinfo --formats" to check).
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-user
mailing list