[GRASSLIST:817] Re: Problems importing a GMT grd file
Sandro Klippel
sandro.klippel at talha-mar.com.br
Fri Jul 25 17:56:39 EDT 2003
Try use
> grdreformat triangle.grd=0 triangle.bin=1
and then
> r.in.bin -hf in=triangle.bin out=shoals.gmt
On Fri, 2003-07-25 at 15:18, David Finlayson wrote:
> I have created a GMT grid file from point data using GMT's triangulate
> command. When I tried to import the grd with r.in.bin, I received an
> error saying there was an invalid row value. Is there something I am
> doing wrong?
>
> Here are some details:
>
> GRASS:~/shoals > gridinfo triangle.grd
> triangle.grd: Title:
> triangle.grd: Command: triangulate -JX25i/40i median.xyz -I2 -E
> -Gtriangle.grd -R534090/548020/5322430/5346610 -V -M
> triangle.grd: Remark:
> triangle.grd: Normal node registration used
> triangle.grd: grdfile format # 0
> triangle.grd: x_min: 534090 x_max: 548020 x_inc: 2 units: user_x_unit
> nx: 6966
> triangle.grd: y_min: 5.32243e+06 y_max: 5.34661e+06 y_inc: 2 units:
> user_y_unit ny: 12091
> triangle.grd: z_min: -11.945 z_max: 48.91 units: user_z_unit
> triangle.grd: scale_factor: 1 add_offset: 0
>
> GRASS:~/shoals > r.in.bin -hf in=triangle.grd out=shoals.gmt
> Illegal row value
>
> I am using GRASS 5.0.2 (April 2003) and GMT 3.4.3 both on Cygwin/XP
>
> Thanks
>
>
> --
> David Finlayson
> School of Oceanography
> Box 357940
> University of Washington
> Seattle, WA 98195-7940
> USA
>
> Office: Marine Sciences Building, Room 112
> Phone: (206) 616-9407
> Web: http://students.washington.edu/dfinlays
--
Sandro Klippel <sandro.klippel at talha-mar.com.br>
talha-mar projetos ambientais
Conselheiro d'Avila 190
Porto Alegre,RS 91040-450
+55 (51) 3344-7451
w w w . t a l h a - m a r . c o m . b r
More information about the grass-user
mailing list