[GRASSLIST:7886] Re: problems importing SRTM30plus files

Markus Neteler neteler at itc.it
Fri Aug 12 10:56:58 EDT 2005


On Thu, Aug 11, 2005 at 05:20:08PM +0000, Carlos Guâno Grohmann wrote:
> Hello all, I'm trying to import some SRTM30plus (30 arcsec) data I get from
> 	http://topex.ucsd.edu/WWW_html/srtm30_plus.html
> whitch have both land and ocean data,
> 
> but things are strange. r.in.gdal say the format is no recognised, and
> r.in.bin can import, but the data range goes from
> min=-32768
> max=32767
> 
> what am I doing wrong?

ftp://topex.ucsd.edu/pub/srtm30_plus/README.txt

DATA FORMATS
Data are provided as binary integers in exactly the same format
as SRTM30.  The files must be uncompressed with gzip and are 16-bit
big endian byte order. 

Example:
 r.in.bin -sb input=e020n40.Bathmetry.srtm output=e020n40_topex bytes=2 north=40 south=-10 east=60 west=20 r=6000 c=4800
 r.colors e020n40_topex rules=etopo2

Enjoy

 Markus




More information about the grass-user mailing list