== Creating DEMs from ASTER or SRTM data == The ASTER GDEM is a global elevation dataset at 1-arc-second (30m) horizontal resolution, covering the earth from 83S-83N. More data about the dataset is available at http://www.ersdac.or.jp/GDEM/E/2.html, the dataset itself can be downloaded from http://asterweb.jpl.nasa.gov/gdem-wist.asp. The Shuttle Radar Topography Mission mapped global elevations at a 3 arc second (90m posting) resolution between 60N and 56S. More information is available from http://srtm.usgs.gov/, and the data are available via the [http://earthexplorer.usgs.gov USGS Earth Explorer] Both of these are relatively coarse for ARSF DEM usage but are sufficient in some cases. To create a DEM from these data: 1. Obtain DEM data. ASTER should be used in preference to SRTM unless there is a good reason not to. * ASTER from http://asterweb.jpl.nasa.gov/gdem-wist.asp. You will need to register, define the search area you're interested in and create an appropriate data order. ===Please use username: arsf password: ArsfPr0cess * SRTM from http://earthexplorer.usgs.gov. Expand the "Digital Elevation" link on the left and tick the box labelled "SRTM". Enter bounding co-ordinates for the area you want data for, clicking the green "+" icon after each one. Note that this currently seems not to always work correctly for locations in DMS format (at least in Firefox), you may need to switch to decimal degrees (which work fine). Click on the "Search" button in the bottom-right, and you should be presented with a list of items matching your search (there should be only one thing in it). Click on the "SRTM" link (you may need to enable pop-ups if you've got them blocked), and you will be presented with a list of matching SRTM tiles and download links - download the data you want to use. Note that only SRTM 3-arc-second resolution data is available for sites outside North America. For sites in North America higher resolution data can be obtained via the USGS [http://seamless.usgs.gov/ Seamless Server] 2. Unzip the downloaded zip file. ASTER data will contain two GeoTIFFs (you want the "_dem" one) - the file name refers to the lat/lon of the bottom-left corner of the tile. For SRTM data, descend into the directory structure to find the file w001001.adf - this holds the actual data, though you can't move it without the rest of the directory structure. 3. Fire up Grass. Select a location in lat/long projection using WGS84 datum (create one if none avaialble), make a note of the selected location and mapset names. 4. Import the data file: For ASTER data: {{{ r.in.gdal input=_dem.tif output=aster_data }}} For SRTM data: {{{ r.in.gdal input=w001001.adf output=srtm_data }}} 5. Quit Grass and then start it up again. Select a location using UTM projection for the target area or create one if none is available - make sure you've got the right UTM zone. Note you can also use whatever other projection you want, but this guide assumes you want UTM. 6. Use a conversion utility (eg see the spreadsheet at [http://www.uwgb.edu/dutchs/UsefulData/UTMFormulas.HTM#Spreadsheet http://www.uwgb.edu/dutchs/UsefulData/UTMFormulas.HTM#Spreadsheet]) to determine the boundaries of the target flight in meters within the selected UTM zone. If the flight spans two or more UTM zones, you will have to calculate the offsets appropriate to work out the east and west boundaries of the area. eg. If western boundary is zone 32 and eastern boundary is zone 33, for eastern value use zone 32, add 750000 to value from spreadsheet to find eastings relative to zone 32 bound. 7. Set active region to calculated eastings/northings using: {{{ g.region n= s= e= w= res=50 }}} 8. Use r.proj to convert from lat/long to UTM: {{{ r.proj input= location= mapset= output= }}} 9. If r.proj gives an error saying that the input map is outside the bounds of the current region, go back to step 6 and check your numbers 10 Output ASCII DEM from converted map as normal (see [wiki:Processing/NextMapDEMs Creation of DEMs from NextMap data])