<div dir="ltr"><div><div><div><div>Hi Abhimanyu,<br><br></div>Do you know which variable this is occuring on? I see you are manually setting contour levels based upon variable -- you might put some print statements to print min/max of each variable and make sure your contour levels are appropriate. <br><br></div>The message is pretty self explanatory -- if all the data is constant (or nearly so), the are no isolines to be plotted. NCL used to produce a blank plot is such cases. The resource mentioned, cnConstFEnableFill, will at least allow the plot to be shaded at whatever color the constant values map to in your colormap.<br><br></div>Hope that helps...<br></div>Rick<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 22, 2017 at 10:15 AM, Abhimanyu Mittal <span dir="ltr"><<a href="mailto:abhimanyu_mittal@outlook.com" target="_blank">abhimanyu_mittal@outlook.com</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 id="m_-1472716523106479445divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr">
<p>Hello,</p>
<p>While reading all the fields in the geo_em file and plotting them, I am getting the following error.</p>
<p><br>
</p>
<p>~$ warning:ContourPlotInitialize: scalar field is constant; no contour lines will appear; use cnConstFEnableFill to enable fill<br>
</p>
<p><br>
</p>
<p>For the reference, I have also attached the .ncl file.</p>
<p><br>
</p>
<p>Regards</p><span class="HOEnZb"><font color="#888888">
<p>Abhimanyu Mittal<br>
</p>
</font></span></div>
</div>
<br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">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/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>