[gradsusr] Holes in plot since 2.1.a2.oga.1 on windows
dzengiz.tafa at telenet.be
dzengiz.tafa at telenet.be
Mon Dec 12 13:30:36 EST 2016
Hi all
I have just upgraded to GrADS version 2.1.a2.oga.1 on my windows installation.
So far I am thrilled with the new 2.1 version. Especially with the new graphics output properties. Very good work guys. Keep it up.
I am however having problems with one of my scripts. All my other scripts run just fine. Only the ones where I use a maskout function & plot these results as shaded gives problems, eg. all my probability maps. I have created a script whith applies probablistic functions using the GEFS & it goes like this
'set e 1'
'define temp1 = const( const( maskout( ((tmp2m - 273.16) * -1), ((tmp2m - 273.16) * -1) - 0), 1), 0.0, -u)'
'set e 2'
'define temp2 = const( const( maskout( ((tmp2m - 273.16) * -1), ((tmp2m - 273.16) * -1) - 0), 1), 0.0, -u)'
'set e 3'
'define temp3 = const( const( maskout( ((tmp2m - 273.16) * -1), ((tmp2m - 273.16) * -1) - 0), 1), 0.0, -u)'
'set e 4'
'define temp4 = const( const( maskout( ((tmp2m - 273.16) * -1), ((tmp2m - 273.16) * -1) - 0), 1), 0.0, -u)'
'set e 5'
'define temp5 = const( const( maskout( ((tmp2m - 273.16) * -1), ((tmp2m - 273.16) * -1) - 0), 1), 0.0, -u)'
...
'set e 21'
'define temp21 = const( const( maskout( ((tmp2m - 273.16) * -1), ((tmp2m - 273.16) * -1) - 0), 1), 0.0, -u)'
'define tempoverlap = (temp1 + temp2 + temp3 + temp4 + temp5 + ... + temp21) / 21'
'define freezeprob = 100 * tempoverlap'
When I plot this result in the previous version, the 2.0.xxx It runs just fine. When I try this however on the new 2.1.a2.oga.1, I get holes in my plot and the result seemingly shows values above 100% which should be impossible. Those patches mentioned have the same color as my background color set in grads.
[ https://postimg.org/image/4wi6vajs3/ | https://postimg.org/image/4wi6vajs3/ ]
When I try to run the exact same script on the 2.0.xx version on windows the plot has no problems at all. Those patches aren't there & the plot is correct.
Does anybody know what might have happened? Is there a bug in the maskout functions since the 2.1.a2.oga.1 on windows b ecause I only have this issue on my probablistic maps which make heavy use of the maskout-function. I'm beginning to think there is an issue with maskout in combination with color shaded graphics output. I havent been able to test this on unix/linux so maybe this could be an issue confined to the windows release only?
I'm curious what the rest of the community thinks or knows about this. Maybe somebody can point me in the right direction?
Best regards
Dzengiz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20161212/041b95de/attachment-0001.html
More information about the gradsusr
mailing list