<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ks_c_5601-1987">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Alright, so I only looked over your script quickly, but the only suspicious thing I see is this line:
<div><br>
</div>
<div>
<div>&nbsp; contour_levels &nbsp;= (/5,-5,5,-5,5,-5,5,-5,5,-5/)</div>
<div><br>
</div>
<div>Since you are iterating over the levels with your &quot;do&quot; loop, I think you only need this:</div>
<div><br>
</div>
<div>
<div>&nbsp; contour_levels &nbsp;= (/5,-5/)</div>
</div>
<div><br>
</div>
<div>BUT, I'm pretty sleepy so could be wrong. Do you know exactly where in your code the errors get thrown?</div>
<div><br>
</div>
<div>best</div>
<div>Kacie</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF243202" style="direction: ltr;"><font face="Tahoma" size="2" color="#000000"><b>From:</b> Matt Flournoy [mflournoy37@gmail.com]<br>
<b>Sent:</b> Wednesday, May 03, 2017 12:41 PM<br>
<b>To:</b> Kacie Shourd<br>
<b>Cc:</b> ncl-talk@ucar.edu<br>
<b>Subject:</b> Re: [ncl-talk] plotting error<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">Hey Kacie!
<div><br>
</div>
<div>Thanks for taking a look at it. It's brutishly long because I'm not elegant at all... but only certain parts of it are used depending on the variable that you enter near the top. In this case, I'm trying to contours of w (updraft/downdraft) as well as
 a couple other variables. Extracting w from the WRF output happens in lines 524-551. I start setting some plotting resources in lines 1014-1118. I actually plot the w contours in lines 1798-1841, after which I plot a couple other things, and then draw the
 plot and frame it in lines 2071-2072. Hopefully that quick roadmap helps a bit.</div>
<div><br>
</div>
<div>Thanks!</div>
<div>Matt</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, May 3, 2017 at 2:21 PM, Kacie Shourd <span dir="ltr">
&lt;<a href="mailto:Kacie.Shourd@dri.edu" target="_blank">Kacie.Shourd@dri.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt"><span style="font-size:13.3333px">Hey Matt,</span>
<div style="font-size:13.3333px"><br>
</div>
<div style="font-size:13.3333px">Send me your script and I'll take a look at it.</div>
<div style="font-size:13.3333px"><br>
</div>
<div style="font-size:13.3333px">Best</div>
<div style="font-size:13.3333px">Kacie</div>
<div style="font-size:13.3333px"><br>
</div>
<div style="font-size:13.3333px">
<div style="font-family:&quot;Segoe UI&quot;,Helvetica,Arial,sans-serif; font-size:medium; margin:0px">
<font face="Calibri,sans-serif" size="2"><span style="font-size:11pt">---</span></font></div>
<div style="font-family:&quot;Segoe UI&quot;,Helvetica,Arial,sans-serif; font-size:medium; background-color:white; margin:0px">
<font face="Calibri,sans-serif" size="2"><span style="font-size:11pt"><font face="Courier New" size="2" color="black"><span style="font-size:10pt">Kacie N. Shourd</span></font></span></font></div>
<div style="font-family:&quot;Segoe UI&quot;,Helvetica,Arial,sans-serif; font-size:medium; background-color:white; margin:0px">
<font face="Calibri,sans-serif" size="2"><span style="font-size:11pt"><font face="Malgun Gothic,sans-serif" size="2" color="black"><span style="font-size:10pt">µå¸²</span></font></span></font></div>
<div style="font-family:&quot;Segoe UI&quot;,Helvetica,Arial,sans-serif; font-size:medium; background-color:white; margin:0px">
<font face="Calibri,sans-serif" size="2"><span style="font-size:11pt"><font face="Arial,sans-serif" size="2" color="#222222"><span style="font-size:9.5pt">&nbsp;</span></font></span></font></div>
<div style="font-family:&quot;Segoe UI&quot;,Helvetica,Arial,sans-serif; font-size:medium; background-color:white; margin:0px">
<font face="Calibri,sans-serif" size="2"><span style="font-size:11pt"><font face="Courier New" size="2" color="#222222"><span style="font-size:10pt">Graduate Research Assistant</span></font></span></font></div>
<div style="font-family:&quot;Segoe UI&quot;,Helvetica,Arial,sans-serif; font-size:medium; background-color:white; margin:0px">
<font face="Calibri,sans-serif" size="2"><span style="font-size:11pt"><font face="Courier New" size="2" color="#222222"><span style="font-size:10pt">Desert Research Institute</span></font></span></font></div>
<div style="font-family:&quot;Segoe UI&quot;,Helvetica,Arial,sans-serif; font-size:medium; background-color:white; margin:0px">
<font face="Calibri,sans-serif" size="2"><span style="font-size:11pt"><a href="mailto:Kacie.Shourd@dri.edu" target="_blank"><font face="Courier New" size="2"><span style="font-size:10pt">Kacie.Shourd@dri.edu</span></font></a></span></font></div>
<div style="font-family:&quot;Segoe UI&quot;,Helvetica,Arial,sans-serif; font-size:medium; background-color:white; margin:0px">
<font face="Calibri,sans-serif" size="2"><span style="font-size:11pt"><font face="Courier New" size="2" color="#222222"><span style="font-size:10pt">Work:
<a href="tel:(775)%20674-7049" value="&#43;17756747049" target="_blank">(775) 674-7049</a></span></font></span></font></div>
</div>
<div style="font-family:Times New Roman; color:#000000; font-size:16px">
<hr>
<div id="m_-4978208479075511688divRpF35298" style="direction:ltr"><font face="Tahoma" size="2" color="#000000"><b>From:</b>
<a href="mailto:ncl-talk-bounces@ucar.edu" target="_blank">ncl-talk-bounces@ucar.edu</a> [<a href="mailto:ncl-talk-bounces@ucar.edu" target="_blank">ncl-talk-bounces@ucar.edu</a>] on behalf of Matt Flournoy [<a href="mailto:mflournoy37@gmail.com" target="_blank">mflournoy37@gmail.com</a>]<br>
<b>Sent:</b> Wednesday, May 03, 2017 12:16 PM<br>
<b>To:</b> <a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
<b>Subject:</b> [ncl-talk] plotting error<br>
</font><br>
</div>
<div>
<div class="h5">
<div></div>
<div>
<div dir="ltr">Hi all,
<div><br>
</div>
<div>When trying to plot WRF output, I'm getting the following error:</div>
<div><br>
</div>
<div>
<p class="m_-4978208479075511688gmail-p1"><span class="m_-4978208479075511688gmail-s1">fatal:ContourPlotPreDraw: CPCLAM - CONTRADICTORY AREA-IDENTIFIER INFORMATION</span></p>
<p class="m_-4978208479075511688gmail-p1">fatal:ContourPlotDraw: draw error</p>
<p class="m_-4978208479075511688gmail-p1"><span class="m_-4978208479075511688gmail-s1">fatal:PlotManagerPreDraw: error in plot pre-draw</span></p>
<p class="m_-4978208479075511688gmail-p1"><span class="m_-4978208479075511688gmail-s1">fatal:_NhlPlotManagerDraw: PreDraw error</span></p>
<p class="m_-4978208479075511688gmail-p1"><span class="m_-4978208479075511688gmail-s1"><br>
</span></p>
<p class="m_-4978208479075511688gmail-p1">I've seen at least two similar errors in the online archive, but no posted response. Could you help me with this? Please let me know if you'll need to see my code and I can send that along.</p>
<p class="m_-4978208479075511688gmail-p1">Thank you,</p>
<p class="m_-4978208479075511688gmail-p1">Matt</p>
<div>
<div><br>
</div>
-- <br>
<div class="m_-4978208479075511688gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">Matthew Flournoy
<div>M.S. Meteorology Student, University of Oklahoma</div>
<div>B.S. Meteorology, Penn State University</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<font face="Arial" size="2">PUBLIC RECORDS NOTICE: In accordance with NRS Chapter 239, this email and responses, unless otherwise made confidential by law, may be subject to the Nevada Public Records laws and may be disclosed to the public upon request.</font>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">Matthew Flournoy
<div>M.S. Meteorology Student, University of Oklahoma</div>
<div>B.S. Meteorology, Penn State University</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>