Project

General

Profile

Download (276 Bytes) Statistics
| Branch: | Revision:
1
#!/bin/sh
2
# script translates SRTM files in ESRI .ASC format files into .tif format
3
# Author: Rick Reeves, NCEAS April 26, 2011
4

    
5
iNames=`ls ./srtm_0[2-9]*.asc`
6

    
7
for iName in $iNames
8
do
9
  echo " translating: $iName"
10
  gdal_translate -ot Int16 -of GTiff  $iName $iName.tif
11
done
(9-9/10)