ASTER topography: Difference between revisions

From GRASS-Wiki
Jump to navigation Jump to search
(Created page with 'Steps to import ASTER GDEM tiles in GRASS: # save downloaded zip files in one directory # enter in directory and unzip files at once unzip "*.zip" # create WGS84 location,…')
 
mNo edit summary
Line 10: Line 10:
  done
  done
   
   
  # match region to extent of all tiles
  # match region to extent of imported gdem tiles
  g.region rast=`g.mlist pat=AST*dem sep=,` -p
  g.region rast=`g.mlist pat=AST*dem sep=,` -p
   
   
Line 16: Line 16:
  r.patch in=`g.mlist pat=AST*dem sep=,` out=aster_gdem
  r.patch in=`g.mlist pat=AST*dem sep=,` out=aster_gdem
   
   
  # assign color rules to dem tiles
  # assign color rules
  r.colors aster_gdem color=terrain
  r.colors aster_gdem color=terrain




Note: working on color rules that replicate NASA's [http://www.nasa.gov/images/content/363790main_PIA12090_gdem-press-colorized-topo.tif "GDEM press colorized topo"] published at [http://www.nasa.gov/topics/earth/features/20090629.html "Mission News"]
Note: working on color rules that replicate NASA's [http://www.nasa.gov/images/content/363790main_PIA12090_gdem-press-colorized-topo.tif "GDEM press colorized topo"] published at [http://www.nasa.gov/topics/earth/features/20090629.html "Mission News"]

Revision as of 23:09, 4 July 2009

Steps to import ASTER GDEM tiles in GRASS:

# save downloaded zip files in one directory
# enter in directory and unzip files at once
unzip "*.zip"

# create WGS84 location, import elevation (=dem) and quality (=num) tiles in PERMANENT mapset
for GDEM in *.tif ; do
  r.in.gdal in=$GDEM out=`basename ${GDEM} .tif`
done

# match region to extent of imported gdem tiles
g.region rast=`g.mlist pat=AST*dem sep=,` -p

# patch tiles in one map
r.patch in=`g.mlist pat=AST*dem sep=,` out=aster_gdem

# assign color rules
r.colors aster_gdem color=terrain


Note: working on color rules that replicate NASA's "GDEM press colorized topo" published at "Mission News"