[gradsusr] zinterp.gs
Jeffrey Duda
jdduda at iastate.edu
Thu Apr 21 15:44:57 EDT 2011
Meredith,
To my knowledge, you can't run a function from the Grads command prompt.
Instead, you need to put in a call to it inside a script that contains the
function code. Thus, just put the line 'zinterp(tmpprs,hgtprs,5000)' as the
first line of code in the zinterp.gs script file.
Jeff Duda
On Thu, Apr 21, 2011 at 2:02 PM, Meredith Croke <mcroke at airdat.com> wrote:
> Hi Grads Users,
>
>
>
> I'm trying to use the zinterp.gs function to determine the 6km wind from
> model data that is output on pressure levels, however I'm running into
> some issues with zinterp.gs.
>
>
>
> To test the function I am attempting to run it from the command line and
> follow the samples in the script, so I have tried
>
> 'd zinterp(tmpprs,hgtprs,5000)', to display a temperature field at 5000,
> however I receive this error:
>
> Syntax Error: Invalid Operand
>
> 'zinterp' not a variable or function name
>
> Error ocurred at column 1
>
> DISPLAY error: Invalid expression
>
> Expression = zinterp(tmpprs,hgtprs,5000)
>
>
>
> The function is in my directory, what else do I need to do to get this
> to work?
>
> I am using grads v1.9b4
>
>
>
> Thanks for your help.
>
>
>
> Regards,
>
>
>
> Meredith
>
>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
--
Jeff Duda
Iowa State University
Meteorology Graduate Student
3134 Agronomy Hall
www.meteor.iastate.edu/~jdduda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110421/bf920aa9/attachment.html
More information about the gradsusr
mailing list