<div dir="ltr"><div>Hi Michael,</div><div><br></div><div>Several of us have taken a look at this issue and are able to replicate the results with your script (Thanks for the nice clean example!). Oddly, the bug occurs in very subtly different way between my Linux machine and my Mac (the shape of the improper fill is the same, the colors are different).</div><div><br></div><div>I am afraid that finding a proper fix for this will take considerable effort, and with our current staffing levels will, we will not be able to address this in the immediate future. However, I may have a work-around that might be acceptable. I noticed that the viewport settings are pushed right up against the top edge of the plot (its rare to see NCL plots like this). On a hunch, I offset it slightly interior to the plot, so:</div><div><br></div><div> res@vpYF = 0.99999 ;; rather than 1.0</div><div><br></div><div>and the problem goes away. One can not perceive the offset visually.-- it looks flush with the top edge. <br></div><div><br></div><div>You might give this a shot to see if the incidence of intermittently incorrect plots goes down. I would be curious to hear what you find out.<br></div><div><br></div><div>I hope that helps...</div><div>Rick</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 13, 2019 at 1:38 AM Michael Langguth <<a href="mailto:mlangguth@uni-bonn.de">mlangguth@uni-bonn.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Dear NCL-community,<br>
<br>
we already posted this issue on the NCL GitHub repo (as<br>
#95 on 11th April), but would like to bring it to a<br>
probably broader attention via the ncl-talk. We hope not<br>
to annoy some of you with a double posting, but we still<br>
could not solve the problem and would like to update to<br>
the newest NCL version in the near future.<br>
<br>
Starting with NCL 6.5.0, a random-like bug in the filled<br>
contour plots being produced routinely at our institute<br>
(Institute of Geoscience - Department Meteorology of the<br>
University of Bonn) arose.<br>
<br>
We plot GFS data obtained from the NCEP data server over<br>
a domain spanning from the West Atlantic to Eastern<br>
Europe, i.e. our plot domain crosses the prime meridian.<br>
While we had never problems using NCL 6.3.0, the<br>
contours sometimes aren't filled correctly neither with<br>
NCL 6.5.0 nor with NCL 6.6.2.<br>
More specifically, uniformly colored segments over<br>
several levels (which should have different fill colors)<br>
are drawn. These segments are likely to be confined by<br>
the prime meridian.<br>
The problem seems to occur randomly since a small change<br>
in the plotting domain may yield a correct visualization<br>
and since the plotting process may succeed using slightly<br>
different data sets (i.e. another GFS data file).<br>
<br>
For a visualisation of this issue we would like to refer<br>
to our GitHub post: <a href="https://github.com/NCAR/ncl/issues/95" rel="noreferrer" target="_blank">https://github.com/NCAR/ncl/issues/95</a><br>
<br>
The exemplary script and the data set (cropped data of<br>
GFS run 2019/01/23 00 UTC +087 forecast) can be accessed<br>
from:<br>
<br>
link to script:<br>
<a href="https://uni-bonn.sciebo.de/s/I9dXjEAz8twDAtX" rel="noreferrer" target="_blank">https://uni-bonn.sciebo.de/s/I9dXjEAz8twDAtX</a><br>
link to data :<br>
<a href="https://uni-bonn.sciebo.de/s/5lctA71qie3TSEp" rel="noreferrer" target="_blank">https://uni-bonn.sciebo.de/s/5lctA71qie3TSEp</a><br>
<br>
Our system runs on Linux 4.12.14 (OpenSuse 15.0) and NCL<br>
was installed by using the binary from NCAR.<br>
<br>
Do you have any ideas how to fix this problem or is it<br>
related to a deep bug in the NCL plotting routine?<br>
<br>
Many thanks in advance and kind regards!<br>
M. Langguth and A.Demers<br>
<br>
<br>
-------------------------------<br>
------------------------------------<br>
M. Sc. Michael Langguth<br>
Institute for Geoscience - Department Meteorology<br>
University of Bonn<br>
Auf dem Hügel 20, Bonn<br>
phone: +49 228 73 5186<br>
email: <a href="mailto:mlangguth@uni-bonn.de" target="_blank">mlangguth@uni-bonn.de</a><br>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
</blockquote></div>