r.out.xyz (Was: GMT & netCDF files)

Darrell McCauley mccauley at ecn.purdue.edu
Tue Oct 26 14:54:25 EDT 1993


amante at grouse.pnl.gov (amante at grouse.pnl.gov) writes on 26 Oct 93:
>	I lost the intent of the original message.  Were you going to try to

Craig was trying to put info into something else.

>export a raster file into a file in just an x, y and z format so that it could
>be used?  If so, I'm all for it.  (Then GNUPLOT could use it, right???). 

Actually, for g.gnuplot, the following works well 
(you have to insert a few blank lines).

r.stats -1x $1 | awk '$2 != row{print "";row=$2}{print}'

--Darrell

P.S. you may want to reduce your resolution (g.region), depending. 



More information about the grass-user mailing list