[GRASSLIST:5795] Re: r.out.bin and GMT

Dylan Beaudette dylan at iici.no-ip.org
Tue Feb 15 17:24:42 EST 2005


On Tuesday 15 February 2005 01:34 pm, bfdi533 wrote:
> I am trying to use r.out.bin with grass 5.0.3 and the -h switch to make
> it export the GMT headers.
[snip]
> GRASS:~ > grdinfo elevation.bin
> grdinfo: Not a netCDF file [elevation.bin]
> GRASS:~ >
>

try this:
grdinfo elevation.bin=1

note that the output from r.out.bin is not a NetCDF file. GMT can still use 
the file, but you have to tell GMT what kind of file: i.e. is it integer or 
floating point data:

grid.bin=1   for floating point grids
grid.bin=2   for integer grids


here are some other GRASS-GMT ideas:
http://169.237.35.250/~dylan/grass_user_group/

cheers,

-- 
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341




More information about the grass-user mailing list