[GRASS-dev] MODIS Metadata information kept after GDALimport/warp into GRASS

Hamish hamish_b at yahoo.com
Wed Feb 17 21:19:13 EST 2010


António Rocha wrote:
> I'm importing MODIS datasets (HDF4 format) using Method 1
> from http://grass.osgeo.org/wiki/MODIS#Import.
> My question is related with the extensive metadata. How can
> I kept this metadata associated with file after it's
> imported to GRASS? I don't want to loose that precious
> information. Is it possible?

you can add it one line at a time with "r.support history=".
Officially you are limited to 50 lines 80chars long, but maybe you
could push that? You can then view it with r.info.
this is stored in the $MAPSET/hist/$MAPNAME text file.


It is planned that the raster meta-data support will be significantly
upgraded when we cleanup the raster format for grass 7.


Hamish



      


More information about the grass-dev mailing list