[GRASS-user] importing L1G-data into GRASS

hello,

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?

warm regards from potsdam, germany

                            irene

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@gclements.plus.com>

Dear Irene,

when you display one channel in GRASS, it is displayed by default with a color scheme ranging form green to yellow or blue to red. Under Raster -> Manage Map Color you can change this.

Regarding the import of Landsat images I prefer the following way, though not purely with open source software: Import your image with ERDAS and save it as img-file. img is a rather wide spread satellite image data format, which can be read inmediately by ERDAS, ENFI, ARC GIS etc. And, img.-files can be imported without any problems into GRASS. You even can build your location with a few clicks using an img file.

I guess that in Potsdam there is an ERDAS Licence somewhere.

Best regards

Niels

rosa schrieb:

hello,

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?

warm regards from potsdam, germany

                                irene

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

--

-----------------------------------------------------
Dr. Niels Thevs
Chair of Geobotany and Landscape Ecology
Institute of Botany and Landscape Ecology
Greifswald University
Grimmer Strasse 88
17487 Greifswald
Germany

Tel.: +49-3834-86-4137
Fax: +49-3834-86-4114

-----------------------------------------------------

dear niels,

thanks for your answer. unfortunately it didn't solve the problem. i changed
the color table into grey and still can't use r.composite. and without that i
cannot go for anything else.
i really wonder what the problem is! the import finally worked and i do have
all the channels in my location... just can't work with them...

maybe somebody else knows what to do, before i have to go for erdas?!

rene

Am Montag 06 Oktober 2008 09:34:03 schrieb Niels Thevs:

Dear Irene,

when you display one channel in GRASS, it is displayed by default with a
color scheme ranging form green to yellow or blue to red. Under Raster
-> Manage Map Color you can change this.

Regarding the import of Landsat images I prefer the following way,
though not purely with open source software: Import your image with
ERDAS and save it as img-file. img is a rather wide spread satellite
image data format, which can be read inmediately by ERDAS, ENFI, ARC GIS
etc. And, img.-files can be imported without any problems into GRASS.
You even can build your location with a few clicks using an img file.

I guess that in Potsdam there is an ERDAS Licence somewhere.

Best regards

Niels

rosa schrieb:
> hello,
>
> 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?
>
> warm regards from potsdam, germany
>
> irene
>
> _______________________________________________
> grass-user mailing list
> grass-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user

Hi,

On Mon, 6 Oct 2008 17:00:16 +0200
rosa <rosa.marzipan@gmx.de> wrote:

dear niels,

thanks for your answer. unfortunately it didn't solve the problem. i changed
the color table into grey and still can't use r.composite. and without that i
cannot go for anything else.
i really wonder what the problem is! the import finally worked and i do have
all the channels in my location... just can't work with them...

maybe somebody else knows what to do, before i have to go for erdas?!

On Thu, 2 Oct 2008 22:29:23 +0100
Glynn Clements <glynn@gclements.plus.com> wrote:
>
> 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).

maybe you already tested and missed it but have you tried to import your data
with r.in.gdal (using GDAL with HDF support) as suggested by Glynn?

kind regards,
Otto

rene

Am Montag 06 Oktober 2008 09:34:03 schrieb Niels Thevs:
> Dear Irene,
>
> when you display one channel in GRASS, it is displayed by default with a
> color scheme ranging form green to yellow or blue to red. Under Raster
> -> Manage Map Color you can change this.
>
> Regarding the import of Landsat images I prefer the following way,
> though not purely with open source software: Import your image with
> ERDAS and save it as img-file. img is a rather wide spread satellite
> image data format, which can be read inmediately by ERDAS, ENFI, ARC GIS
> etc. And, img.-files can be imported without any problems into GRASS.
> You even can build your location with a few clicks using an img file.
>
> I guess that in Potsdam there is an ERDAS Licence somewhere.
>
> Best regards
>
> Niels
>
> rosa schrieb:
> > hello,
> >
> > 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?
> >
> > warm regards from potsdam, germany
> >
> > irene
> >
> > _______________________________________________
> > grass-user mailing list
> > grass-user@lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/grass-user

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

hi
I've tested and missed r.in.gdal, but never heared of hdf-support. is that
something i have to instell separately? any instructions how? and who is
glynn?

thanks,
    rene

Am Montag 06 Oktober 2008 17:43:05 schrieb Otto Dassau:

Hi,

On Mon, 6 Oct 2008 17:00:16 +0200

maybe you already tested and missed it but have you tried to import your
data with r.in.gdal (using GDAL with HDF support) as suggested by Glynn?

kind regards,
Otto

> rene
>
> Am Montag 06 Oktober 2008 09:34:03 schrieb Niels Thevs:
> > Dear Irene,
> >
> > when you display one channel in GRASS, it is displayed by default with
> > a color scheme ranging form green to yellow or blue to red. Under
> > Raster -> Manage Map Color you can change this.
> >
> > Regarding the import of Landsat images I prefer the following way,
> > though not purely with open source software: Import your image with
> > ERDAS and save it as img-file. img is a rather wide spread satellite
> > image data format, which can be read inmediately by ERDAS, ENFI, ARC
> > GIS etc. And, img.-files can be imported without any problems into
> > GRASS. You even can build your location with a few clicks using an img
> > file.
> >
> > I guess that in Potsdam there is an ERDAS Licence somewhere.
> >
> > Best regards
> >
> > Niels
> >
> > rosa schrieb:
> > > hello,
> > >
> > > 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?
> > >
> > > warm regards from potsdam, germany
> > >
> > > irene
> > >
> > > _______________________________________________
> > > grass-user mailing list
> > > grass-user@lists.osgeo.org
> > > http://lists.osgeo.org/mailman/listinfo/grass-user
>
> _______________________________________________
> grass-user mailing list
> grass-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user

On Tue, Oct 7, 2008 at 4:13 PM, rosa <rosa.marzipan@gmx.de> wrote:

hi
I've tested and missed r.in.gdal, but never heared of hdf-support. is that
something i have to instell separately? any instructions how? and who is
glynn?

thanks,
               rene

Enjoy the mailing list archive :slight_smile:

Markus