<div dir="ltr"><div class="gmail_default" style="font-size:small">Kristina,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">The problem seems to be related to your longitudes going from 0 to 358, and not -180 to 178. Also, you set gsnAddCyclic to False, but I think you want it to be True.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">If I replace this line:</div><div class="gmail_default" style="font-size:small">
<div class="gmail_default"><p class=""> MM3=ANOF->Ano<br></p></div><p class="">with this line:</p><p class=""> MM3 = lonFlip(ANOF->Ano)</p>
<p class="">then it works.</p><p class="">Let me know if this doesn't fix the problem on your end. I will file a bug report using your data, since it should work regardless if your longitudes go from -180 to 180 or 0 to 360.</p><p class="">--Mary</p><p class=""><br></p></div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 10, 2016 at 11:47 AM, Mary Haley <span dir="ltr"><<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Kristina,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Thanks for providing a script and data. I'll have a look shortly.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">One possible work-around for the raster contours is to set:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">res@cnRasterSmoothingOn = True</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Sometimes this gets you the same results as AreaFill. It just depends on how dense your grid is.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Tue, May 10, 2016 at 5:58 AM, Fröhlich Kristina <span dir="ltr"><<a href="mailto:Kristina.Froehlich@dwd.de" target="_blank">Kristina.Froehlich@dwd.de</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<div lang="DE" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Dear colleagues,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Just recently I found out, what causes sometimes (not always) a disturbed picture for a Europe zoom of ECHAM6 variables. While plotting correctly the whole globe NCL (6.2.0 and 6.2.1) refuses for the first time step
to do properly the interpolation needed for the Area Fill over Europe. It does fine so for the second time step.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">I played around with variable types and colormaps but it seems to come down to the resource of the Area Fill. As long, as I don’t provide fix cnLevels its fine again but looks ugly.
<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">As a work around I switched back to RasterFill which looks of course not so nice but does everything as wanted. I uploaded the ncl script and a testdata onto the ftp server as “AreaFillBug.tar”.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Is there a way for AreaFill?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Best regards, Kristina<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
</div>
<br></div></div>_______________________________________________<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>
<br></blockquote></div><br></div>
</blockquote></div><br></div>