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

Darrell:

  I lost the intent of the original message. Were you going to try to
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???).

Go for it,

Shane.

amante@grouse.pnl.gov (amante@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.