[GRASS-user] Re: GRASS and GMT

Hamish hamish_b at yahoo.com
Fri Apr 15 20:53:05 EDT 2011


Patrick wrote:
> I'm hoping that someone will be able to explain to me why a
> r.out.bin export of a SRTM 90 dem of the Central African
> Republic is being rejected by GMT's xyz2grd facility,
> because (for reasons that are unclear to me) there are
> exactly half of the expected number of records (see below).

without really looking at it, I would check that the bytes-per-
cell is consistent in both the output and the input.

if r.out.bin is exporting at 2 bytes per cell and xyz2grd is
expecting 4 bytes per cell.. 


also, have a look at r.out.gmt and similar modules from the
GRASS addons repository. It takes care of a lot of this stuff
for you.

http://grass.osgeo.org/wiki/GMT


Hamish



More information about the grass-user mailing list