[gradsusr] Appending to file

Jonas Kaufmann me at j0nes.de
Fri Jun 4 11:01:01 EDT 2010


Hello,

I have a grads script that basically looks like this:

'set lat 54.10'
'set lon 10.28'
'set t 1 78'
'set gxout print'
'set prnopts %0.2f 78 1'
'd rh2m'
'd tmp2m'
dummy=write('output.txt',result)

The file output.txt gets created and contains a single line of 78
values. However, I would like to have two lines in there, one for the
variable rh2m and the other for tmp2m.

Do you know if this is possible and if so, what do I have to do?

Best regards,
Jonas Kaufmann



More information about the gradsusr mailing list