Skip to content

r.in.aster

Georeference, rectify, and import Terra-ASTER imagery and relative DEMs using gdalwarp.

r.in.aster input=name proctype=string band=string output=name [--overwrite] [--verbose] [--quiet] [--qq] [--ui]

Example:

r.in.aster input=name proctype=L1B band=all output=name

grass.script.run_command("r.in.aster", input, proctype="L1B", band="all", output, overwrite=False, verbose=False, quiet=False, superquiet=False)

Example:

gs.run_command("r.in.aster", input="name", proctype="L1B", band="all", output="name")

Parameters

input=name [required]
    Name of input ASTER image
proctype=string [required]
    ASTER imagery processing type (Level 1A, Level 1B, or relative DEM)
    Allowed values: L1A, L1B, L1T, DEM
    Default: L1B
band=string [required]
    List L1A L1B or L1T band to translate (1,2,3n,...), or enter 'all' to translate all bands
    Default: all
output=name [required]
    Base name for output raster map (band number will be appended to base name)
--overwrite
    Allow output files to overwrite existing files
--help
    Print usage summary
--verbose
    Verbose module output
--quiet
    Quiet module output
--qq
    Very quiet module output
--ui
    Force launching GUI dialog

input : str, required
    Name of input ASTER image
    Used as: input, file, name
proctype : str, required
    ASTER imagery processing type (Level 1A, Level 1B, or relative DEM)
    Allowed values: L1A, L1B, L1T, DEM
    Default: L1B
band : str, required
    List L1A L1B or L1T band to translate (1,2,3n,...), or enter 'all' to translate all bands
    Default: all
output : str, required
    Base name for output raster map (band number will be appended to base name)
    Used as: output, raster, name
overwrite: bool, optional
    Allow output files to overwrite existing files
    Default: False
verbose: bool, optional
    Verbose module output
    Default: False
quiet: bool, optional
    Quiet module output
    Default: False
superquiet: bool, optional
    Very quiet module output
    Default: False

DESCRIPTION

r.in.aster rectifies, georeferences, and imports Terra-ASTER imagery to current project using gdalwarp, hdf 4, and r.in.gdal, using projection parameters from g.proj. It can import Level 1A, Level 1B, their relative DEM products, and Level 1T.

The program may be run interactively or non-interactively from the command line. In either case, the user must specify an input *.hdf file name, the type of processing used, the image band to import, and an output GRASS raster map name.

The type parameter can take values of L1A, L1B, L1T or DEM.

The band parameter can take values of 1, 2, 3n, 3b, 4-14

NOTES

r.in.aster requires GDAL library to be in the user's path and the hdf 4 driver to be installed. The GDAL library must be compiled with hdf support.

AUTHORS

Michael Barton, Arizona State University and Paul Kelly

SOURCE CODE

Available at: r.in.aster source code (history)
Latest change: Friday Feb 07 19:16:09 2025 in commit a82a39f