[GRASSLIST:1794] r.out.bin availability & related question

Everyone:

I'm using a Linux version 5.x of GRASS from about 6 months to a year ago
and wish to use r.out.bin, but my distribution does not have it. Does
the current release have r.out.bin?

Related question: I wish to write a shell script to process multiple
sites files and conceptually do the following:

        s.ascii.in $filename.txt | s.surf.rst <arguments> | r.out.bin $filename.bin

Provided r.out.bin is available, I should be able to do this, should'nt I?

Thanks to all!

Regards,
Tom
--
Tom Adams adams@ohrfc.noaa.gov
                                       http://www.nws.noaa.gov/er/ohrfc/
Development & Operations Hydrologist NWS-Ohio River Forecast Center
1901 S. State Route 134 Wilmington, OH 45177
(937) 383-0528 (VOICE) (937) 383-0033 (FAX)

On Mon, Apr 30, 2001 at 12:50:15PM -0400, Thomas Adams wrote:

Everyone:

I'm using a Linux version 5.x of GRASS from about 6 months to a year ago
and wish to use r.out.bin, but my distribution does not have it. Does
the current release have r.out.bin?

Hi Thomas,

yes, since beta10 it is included (beta9 was only alive for 24h due to a
severe install bug).

Related question: I wish to write a shell script to process multiple
sites files and conceptually do the following:

        s.ascii.in $filename.txt | s.surf.rst <arguments> | r.out.bin $filename.bin

Provided r.out.bin is available, I should be able to do this, should'nt I?

Well, I don't think that you could pipe the results from s.surf.rst.
But in a simple script using these commands sequentially, it is no
problem.

Regards

Markus Neteler

> Related question: I wish to write a shell script to process multiple
> sites files and conceptually do the following:
>
> s.ascii.in $filename.txt | s.surf.rst <arguments> | r.out.bin $filename.bin
>
> Provided r.out.bin is available, I should be able to do this, should'nt I?
Well, I don't think that you could pipe the results from s.surf.rst.
But in a simple script using these commands sequentially, it is no
problem.

no, pipping is not possible in this case, but I wrote a small perl script doing exactly the thing you want to do with the above command. Thomas I'll post it to you, but you have to set it up by yourself (you need to change some initial path pointers in the script)

cheers
Bernhard Sturm

..................................
the.sign
Bernhard Sturm
WebDesign & Software
Steinauweg 22
CH - 3007 Bern
fon: ++41 (0)31 371 83 21
fax: ++41 (0)31 371 83 21
mobil: ++41 (0)78 775 99 30
www.the-sign.ch