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