[ncl-talk] About ' cnConstFEnableFill '

Toni Klemm toni-klemm at tamu.edu
Tue Sep 25 07:19:03 MDT 2018


Hi Soares,

I think I had the same problem a few weeks ago. I don’t think enabling cnConstFEnableFill will get rid of that warning in your code when you run the script, but it will remove the message in the middle of your plot as shown in example 17. 

Are you trying to eliminate the warning message in your graphs or in the code that you see when you run the script? 

Toni


Toni Klemm, Ph.D.
Postdoctoral Research Associate
Department of Ecosystem Science and Management
College of Agriculture and Life Sciences
Texas A&M University, College Station, TX
Contributor to the Early Career Climate Forum
www.toni-klemm.de | @toniklemm


> On Sep 25, 2018, at 4:21 AM, Jose Manuel Soares de Araujo <isakhar.inside13 at gmail.com> wrote:
> 
> Dear NCL Team
> 
> I am trying to plot solar radiation using 3 variables: swddif, swddni and coszen but I face the warning message "warning:ContourPlotInitialize: scalar field is constant; no contour lines will appear; use cnConstFEnableFill to enable fill".  I try to solve by enable "cnConstFEnableFill" as mentioned in "https://www.ncl.ucar.edu/Applications/coneff.shtml#ex17" but same warning is still coming out. Here I attached the code and the result.
> I am using NCL version 6.5.0.
> 
> Thank you for your time and consideration.
> 
> Best regards,
> Soares
> <hgt_gsn.png>
> <dimse.ncl>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180925/76055ae9/attachment.html>


More information about the ncl-talk mailing list