[gradsusr] Script Problems

Jeffrey Duda jdduda at iastate.edu
Fri Oct 22 00:21:34 EDT 2010


Andrew,
I don't think you can define a new variable piecewise in Grads.  I really
wish you could, as I think that is the one big thing keeping Grads from
being the best graphics software out there.  I've wished I could do it many
times.  You'll have to find some other means of viewing that field.

Jeff Duda

On Thu, Oct 21, 2010 at 11:08 PM, Andrew Revering <andy at f5data.com> wrote:

>  This is a simple but annoying problem… I have an equation in a script…
>
>
>
> 'define MinCAPE = math_int(1.4 * hgt0deg - 5400)'
>
> if (MinCAPE < 200) ; MinCAPE = 200 ; endif
>
>
>
>
>
>
>
> I get an error saying math_int() is not a valid function….
>
> also the whole IF statement is completely ignored. No matter what I do, I
> still get negative values for MinCAPE.
>
>
>
> BTW…this is a unconventional method for me to determine if there is
> 'enough' CAPE to support a severe thunderstorm given the freezing level
> height in case anyone is wondering.
>
>
>
> Andrew Revering
>
> Convective Development, Inc.
>
> http://www.convectivedevelopment.com/
>
>
>
>
>
> _______________________________________________
> 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/20101021/7473e4f9/attachment-0003.html 


More information about the gradsusr mailing list