[gradsusr] error with fprintf command

dipak sahu dipakmath at gmail.com
Tue Jul 26 00:48:45 EDT 2011


Dear all
      I tried to write the grads out put values into a ascii file by using
the fprintf.gs script. I tried the following command

> set x 1 54 (since the .dat file has 54 longitude and 36 latitude points)
> set t 25
> fprintf  t2-273.15   T2-24hr.csv  %g, 54

but the file T2-24hr.csv  has only two rows of data instead of 36 rows of
data. What may be the error with this script or command.

waiting for your kind reply

thanking you
with regards
Dipak Sahu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110726/09c72c64/attachment-0003.html 


More information about the gradsusr mailing list