output in text format
Michael Fiorino
Michael.Fiorino at NOAA.GOV
Wed Jul 15 16:05:38 EDT 2009
hi lisa, the return from the function fprintf(args) was not found,
possibly because there's a space before 'return n ' try taking out
those spaces before the script commands, the script interpreter is very
sensitive to the first column. /r mike
Lisa Welp wrote:
> Hello,
>
> I'm trying to write an expression result as a text file and am not
> getting it to work.
>
> I've tried using the 'write' command, but get an 'unknown command' error.
>
> I've also tried downloading the 'fprintf.gs' script from the cookbooks
> website and get the following error message:
> Unexpected endif. Incorrect if block nesting.
> Error occurred scanning line 1
> In file fprintf.gs
>
> I attached my version of fprintf.gs that I cut and pasted from the
> website in case there is a formatting issue. Also, I'm using GrADS
> version 2.0.a3.
>
> Can anyone explain why these approaches aren't working, or point me in
> the right direction?
>
> Thanks,
> Lisa
>
> --
> ---------------------------------------
> Lisa Welp-Smith, Postdoc
> Carbon Dioxide Research Group
> Scripps Institution of Oceanography, UCSD
> lwelp at ucsd.edu
>
More information about the gradsusr
mailing list