[gradsusr] Only plot data IF var <= 10

Christopher Gilroy chris.gilroy at gmail.com
Sat Dec 26 15:54:49 EST 2015


Hey guys, I don't believe IF statements are meant to be used like this
which would make sense why it's not working:

'define maxtemp = max(tmpprs,lev=1000,lev=500)-273.15'

if ( maxtemp <= 5 )
'd tmp2m'
endif

That expectation would have been to only plot tmp2m where maxtemp <= 5.

As I said, I don't think it's as easy/designed to use IF statements like
this? I think I may have to do something with const and maskout in order to
do something like this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20151226/63ab3008/attachment.html 


More information about the gradsusr mailing list