<div dir="ltr"><div><div><div><div>Dear Mr.Dennis, Mrs.Mary and Mr.David<br><br></div>Sorry for reply late.<br>Thank you very much for the help and remind me about printVarSummary and/or printMinMax and I am sorry  about that. I promise will remember it in the next question.<br></div>Once again Thank you very much and always stay blessed.<br><br></div>Best regards,<br></div>Soares<br><div><div><div><br><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Mar 11, 2017 at 5:50 AM, Mary Haley <span dir="ltr">&lt;<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.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 dir="ltr"><div class="gmail_default" style="font-size:small">​I just realized we didn&#39;t have any examples of using &quot;cnConstFEnableFill&quot;, so I created a simple one (coneff_17.ncl):</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><a href="http://www.ncl.ucar.edu/Applications/coneff.shtml#ex17" target="_blank">http://www.ncl.ucar.edu/<wbr>Applications/coneff.shtml#ex17</a></div><span class="HOEnZb"><font color="#888888"><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></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 10, 2017 at 12:10 PM, David Brown <span dir="ltr">&lt;<a href="mailto:dbrown@ucar.edu" target="_blank">dbrown@ucar.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Just to clarify this a bit, Dennis is of course correct that you need<br>
to look at your data. You will never see contour lines in a data field<br>
that is constant, but beginning with NCL 6.2.0, there is capability<br>
for performing fill of constant fields. This feature has been improved<br>
considerably for NCL 6.4.0. If you are doing a filled plot, you can<br>
enable fill of constant areas by setting the resource<br>
cnConstFEnableFill to True. Eventually the plan is to make this<br>
resource True by default, but for now it defaults to False.<br>
 -dave<br>
<div class="m_-3396070849654297489HOEnZb"><div class="m_-3396070849654297489h5"><br>
On Fri, Mar 10, 2017 at 7:49 AM, Dennis Shea &lt;<a href="mailto:shea@ucar.edu" target="_blank">shea@ucar.edu</a>&gt; wrote:<br>
&gt; Please look at your data<br>
&gt;<br>
&gt; [1]<br>
&gt; Your script uses<br>
&gt;       a = addfile(&quot;./wrfout_d01_2015-12-<wbr>23_15:00:<a href="http://00.nc" rel="noreferrer" target="_blank">00.nc</a>&quot;,&quot;r&quot;)<br>
&gt; The file you sent is<br>
&gt;                            wrfout_d01_2015-12-23_15_00_00<br>
&gt;<br>
&gt; Please note the 15:00:00 and you sent 15_00_00<br>
&gt;<br>
&gt; [2]<br>
&gt; We have asked you before to use printVarSummary and/or printMinMax to &#39;look<br>
&gt; at your data.&#39; You constantly ignore that advice. Why??<br>
&gt;<br>
&gt;    if(isfilevar(a,&quot;QVAPOR&quot;))<br>
&gt;       qv = wrf_user_getvar(a,&quot;QVAPOR&quot;,it)<br>
&gt;       qv = qv*1000.<br>
&gt;       qv@units = &quot;g/kg&quot;<br>
&gt; printMinMax(qv,0)         ; &lt;========= added<br>
&gt;     end if<br>
&gt;     if(isfilevar(a,&quot;QCLOUD&quot;))<br>
&gt;       qc = wrf_user_getvar(a,&quot;QCLOUD&quot;,it)<br>
&gt;       qc = qc*1000.<br>
&gt;       qc@units = &quot;g/kg&quot;<br>
&gt; printMinMax(qc,0)<br>
&gt;     end if<br>
&gt;     if(isfilevar(a,&quot;QRAIN&quot;))<br>
&gt;       qr = wrf_user_getvar(a,&quot;QRAIN&quot;,it)<br>
&gt;       qr = qr*1000.<br>
&gt;       qr@units = &quot;g/kg&quot;<br>
&gt; printMinMax(qr,0)<br>
&gt;     end if<br>
&gt;     if(isfilevar(a,&quot;QICE&quot;))<br>
&gt;       qi = wrf_user_getvar(a,&quot;QICE&quot;,it)<br>
&gt;       qi = qi*1000.<br>
&gt;       qi@units = &quot;g/kg&quot;<br>
&gt; printMinMax(qi,0)<br>
&gt;     end if<br>
&gt; =====================<br>
&gt;<br>
&gt; Output&quot;<br>
&gt;<br>
&gt;  See <a href="http://www.ncl.ucar.edu/" rel="noreferrer" target="_blank">http://www.ncl.ucar.edu/</a> for more details.<br>
&gt;<br>
&gt; (0)    Water vapor mixing ratio: min=0.00438449   max=18.061<br>
&gt; (0)    Cloud water mixing ratio: min=0   max=0<br>
&gt; (0)    Rain water mixing ratio: min=0   max=0<br>
&gt;<br>
&gt; So two of your variables are constant ... all zeros.<br>
&gt;<br>
&gt; The warning message<br>
&gt;<br>
&gt; warning:ContourPlotInitialize: scalar field is constant; ContourPlot not<br>
&gt; possible:[errno=1102]<br>
&gt;<br>
&gt; Is telling you that the field(s) to be contoured are all one value ( 0.0<br>
&gt; )and that it can not contour  a constant field.<br>
&gt;<br>
&gt; Did you even look at the png files you generated?<br>
&gt;<br>
&gt;<br>
&gt; On Thu, Mar 9, 2017 at 11:40 PM, isakhar sakhar isakhar<br>
&gt; &lt;<a href="mailto:isakhar.inside13@gmail.com" target="_blank">isakhar.inside13@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Dear NCL Team<br>
&gt;&gt;<br>
&gt;&gt; I am trying to plot cloud cover a region and I obtain the error as shown<br>
&gt;&gt; below<br>
&gt;&gt;<br>
&gt;&gt; warning:ContourPlotInitialize: scalar field is constant; ContourPlot not<br>
&gt;&gt; possible:[errno=1102]<br>
&gt;&gt; warning:ContourPlotInitialize: scalar field is constant; ContourPlot not<br>
&gt;&gt; possible:[errno=1102]<br>
&gt;&gt; warning:ContourPlotInitialize: scalar field is constant; ContourPlot not<br>
&gt;&gt; possible:[errno=1102]<br>
&gt;&gt; warning:ContourPlotInitialize: scalar field is constant; ContourPlot not<br>
&gt;&gt; possible:[errno=1102]<br>
&gt;&gt; warning:ContourPlotInitialize: scalar field is constant; ContourPlot not<br>
&gt;&gt; possible:[errno=1102]<br>
&gt;&gt; warning:ContourPlotInitialize: scalar field is constant; ContourPlot not<br>
&gt;&gt; possible:[errno=1102]<br>
&gt;&gt; warning:ContourPlotInitialize: scalar field is constant; ContourPlot not<br>
&gt;&gt; possible:[errno=1102]<br>
&gt;&gt; warning:ContourPlotInitialize: scalar field is constant; ContourPlot not<br>
&gt;&gt; possible:[errno=1102]<br>
&gt;&gt; warning:ContourPlotInitialize: scalar field is constant; ContourPlot not<br>
&gt;&gt; possible:[errno=1102]<br>
&gt;&gt; warning:ContourPlotInitialize: scalar field is constant; ContourPlot not<br>
&gt;&gt; possible:[errno=1102]<br>
&gt;&gt;<br>
&gt;&gt; Script file and wrfout file are in attachment.<br>
&gt;&gt;<br>
&gt;&gt; Thank you for any help.<br>
&gt;&gt;<br>
&gt;&gt; Regards,<br>
&gt;&gt; Soares<br>
&gt;&gt;<br>
&gt;&gt; ______________________________<wbr>_________________<br>
&gt;&gt; ncl-talk mailing list<br>
&gt;&gt; <a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
&gt;&gt; List instructions, subscriber options, unsubscribe:<br>
&gt;&gt; <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailma<wbr>n/listinfo/ncl-talk</a><br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt; ______________________________<wbr>_________________<br>
&gt; ncl-talk mailing list<br>
&gt; <a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
&gt; List instructions, subscriber options, unsubscribe:<br>
&gt; <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailma<wbr>n/listinfo/ncl-talk</a><br>
&gt;<br>
______________________________<wbr>_________________<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/mailma<wbr>n/listinfo/ncl-talk</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>