[gradsusr] Script Problems

Andrew Revering andy at f5data.com
Fri Oct 22 00:08:45 EDT 2010


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/

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20101021/8cc0f98c/attachment-0003.html 


More information about the gradsusr mailing list