<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"><<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">I just realized we didn't have any examples of using "cnConstFEnableFill", 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"><<a href="mailto:dbrown@ucar.edu" target="_blank">dbrown@ucar.edu</a>></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 <<a href="mailto:shea@ucar.edu" target="_blank">shea@ucar.edu</a>> wrote:<br>
> Please look at your data<br>
><br>
> [1]<br>
> Your script uses<br>
> a = addfile("./wrfout_d01_2015-12-<wbr>23_15:00:<a href="http://00.nc" rel="noreferrer" target="_blank">00.nc</a>","r")<br>
> The file you sent is<br>
> wrfout_d01_2015-12-23_15_00_00<br>
><br>
> Please note the 15:00:00 and you sent 15_00_00<br>
><br>
> [2]<br>
> We have asked you before to use printVarSummary and/or printMinMax to 'look<br>
> at your data.' You constantly ignore that advice. Why??<br>
><br>
> if(isfilevar(a,"QVAPOR"))<br>
> qv = wrf_user_getvar(a,"QVAPOR",it)<br>
> qv = qv*1000.<br>
> qv@units = "g/kg"<br>
> printMinMax(qv,0) ; <========= added<br>
> end if<br>
> if(isfilevar(a,"QCLOUD"))<br>
> qc = wrf_user_getvar(a,"QCLOUD",it)<br>
> qc = qc*1000.<br>
> qc@units = "g/kg"<br>
> printMinMax(qc,0)<br>
> end if<br>
> if(isfilevar(a,"QRAIN"))<br>
> qr = wrf_user_getvar(a,"QRAIN",it)<br>
> qr = qr*1000.<br>
> qr@units = "g/kg"<br>
> printMinMax(qr,0)<br>
> end if<br>
> if(isfilevar(a,"QICE"))<br>
> qi = wrf_user_getvar(a,"QICE",it)<br>
> qi = qi*1000.<br>
> qi@units = "g/kg"<br>
> printMinMax(qi,0)<br>
> end if<br>
> =====================<br>
><br>
> Output"<br>
><br>
> See <a href="http://www.ncl.ucar.edu/" rel="noreferrer" target="_blank">http://www.ncl.ucar.edu/</a> for more details.<br>
><br>
> (0) Water vapor mixing ratio: min=0.00438449 max=18.061<br>
> (0) Cloud water mixing ratio: min=0 max=0<br>
> (0) Rain water mixing ratio: min=0 max=0<br>
><br>
> So two of your variables are constant ... all zeros.<br>
><br>
> The warning message<br>
><br>
> warning:ContourPlotInitialize: scalar field is constant; ContourPlot not<br>
> possible:[errno=1102]<br>
><br>
> Is telling you that the field(s) to be contoured are all one value ( 0.0<br>
> )and that it can not contour a constant field.<br>
><br>
> Did you even look at the png files you generated?<br>
><br>
><br>
> On Thu, Mar 9, 2017 at 11:40 PM, isakhar sakhar isakhar<br>
> <<a href="mailto:isakhar.inside13@gmail.com" target="_blank">isakhar.inside13@gmail.com</a>> wrote:<br>
>><br>
>> Dear NCL Team<br>
>><br>
>> I am trying to plot cloud cover a region and I obtain the error as shown<br>
>> below<br>
>><br>
>> warning:ContourPlotInitialize: scalar field is constant; ContourPlot not<br>
>> possible:[errno=1102]<br>
>> warning:ContourPlotInitialize: scalar field is constant; ContourPlot not<br>
>> possible:[errno=1102]<br>
>> warning:ContourPlotInitialize: scalar field is constant; ContourPlot not<br>
>> possible:[errno=1102]<br>
>> warning:ContourPlotInitialize: scalar field is constant; ContourPlot not<br>
>> possible:[errno=1102]<br>
>> warning:ContourPlotInitialize: scalar field is constant; ContourPlot not<br>
>> possible:[errno=1102]<br>
>> warning:ContourPlotInitialize: scalar field is constant; ContourPlot not<br>
>> possible:[errno=1102]<br>
>> warning:ContourPlotInitialize: scalar field is constant; ContourPlot not<br>
>> possible:[errno=1102]<br>
>> warning:ContourPlotInitialize: scalar field is constant; ContourPlot not<br>
>> possible:[errno=1102]<br>
>> warning:ContourPlotInitialize: scalar field is constant; ContourPlot not<br>
>> possible:[errno=1102]<br>
>> warning:ContourPlotInitialize: scalar field is constant; ContourPlot not<br>
>> possible:[errno=1102]<br>
>><br>
>> Script file and wrfout file are in attachment.<br>
>><br>
>> Thank you for any help.<br>
>><br>
>> Regards,<br>
>> Soares<br>
>><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>
>><br>
><br>
><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>
><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>