[ncl-talk] cnConstFEnableFill Resource Not Working
David Brown
dbrown at ucar.edu
Wed Nov 2 16:17:33 MDT 2016
Hi Samuel,
I think we will need to have a complete script and the data in order
to see what is happening. I can tell you that there have been issues
with constant fill plots that have been (hopefully) resolved recently,
so your script might be a useful test case.
Can you follow the directions on the NCL web page tab
Support->ReportBugs to upload these files. Note that your data can be
kept private if you wish.
Let me know offline the names of the files you uploaded. Thanks.
-dave
On Wed, Oct 26, 2016 at 12:16 PM, Samuel Roback <scroback at ncsu.edu> wrote:
> Hi all,
>
> I'm having a lot of trouble with the cnConstFEnableFill resource. I'm
> plotting QPF from the GFS. On some of the smaller scale domains, the values
> are constant...since there is no accumulated precipitation in the domain at
> certain FHOURS.
>
> I have cnConstFEnableFill = True, however I still receive this error from
> NCL: warning:ContourPlotInitialize: scalar field is constant; no contour
> lines will appear; use cnConstFEnableFill to enable fill
>
> I have no idea what I'm doing wrong, maybe another resource is causing
> problems? I've include the subset of my script where I set my resources for
> the plot. If additional information is required, let me know.
>
> apcpres = True
>
> apcpres at mpOutlineOn = True
>
> apcpres at mpProjection = "Orthographic"
>
> apcpres at mpOutlineBoundarySets = "GeophysicalAndUSStates"
>
> apcpres at mpDataBaseVersion = "Ncarg4_1"
>
> apcpres at mpDataSetName = "Earth..4"
>
> apcpres at mpUSStateLineThicknessF = 3.5
>
> apcpres at mpNationalLineThicknessF = 3.5
>
> apcpres at mpGeophysicalLineThicknessF = 3.5
>
> ;apcpres at mpFillOn = True
>
> ;apcpres at mpMonoFillColor = True
>
> ;apcpres at mpFillColor = "white"
>
>
> apcpres at mpLimitMode = "LatLon" ;Limit the map extent by Lat/Lon
>
> apcpres at mpMinLatF = BOTTOMLAT + LATMASK
>
> apcpres at mpMaxLatF = TOPLAT - LATMASK
>
> apcpres at mpMinLonF = LEFTLON + LONMASK
>
> apcpres at mpMaxLonF = RIGHTLON - LONMASK
>
> apcpres at mpCenterLonF = (apcpres at mpMinLonF + apcpres at mpMaxLonF)/2
>
> apcpres at mpCenterLatF = (apcpres at mpMinLatF + apcpres at mpMaxLatF)/2
>
>
> apcpres at mpLambertParallel1F = BOTTOMLAT
>
> apcpres at mpLambertParallel2F = TOPLAT
>
> apcpres at mpLambertMeridianF = (apcpres at mpMinLonF + apcpres at mpMaxLonF)/2
>
>
> ;*****************************************************************************************************
>
> apcpres at cnInfoLabelOn = False
>
> apcpres at gsnRightString = ""
>
> apcpres at gsnLeftString = ""
>
> apcpres at gsnTickMarksOn = False
>
>
> ;apcpres at lbTitleOn = True
>
> ;apcpres at lbTitleFontColor = "white"
>
> ;apcpres at lbTitleFontHeightF = .01
>
> ;apcpres at lbTitlePosition = "Bottom"
>
> ;apcpres at lbTitleOffsetF = 0.20
>
> apcpres at lbAutoManage = False
>
> apcpres at pmLabelBarWidthF = 0.6
>
> apcpres at lbLabelFontColor = "white"
>
> apcpres at lbLabelPosition = "Top"
>
> apcpres at lbLabelFontHeightF = 0.0075
>
> apcpres at gsnFrame = False
>
> apcpres at gsnDraw = False
>
> apcpres at gsnMaximize = True
>
> apcpres at gsnAddCyclic = False
>
> ;******************************************************************************************************
>
> apcpres at cnFillOn = True
>
> ;apcpres at cnFillMode = "CellFill"
>
> apcpres at cnLinesOn = False
>
> apcpres at cnConstFEnableFill = True
>
> apcpres at cnConstFLabelOn = False
>
> apcpres at cnLevelSelectionMode = "ExplicitLevels"
>
> apcpres at lbLabelStride = 1
>
> apcpres at cnLevels = (/ 0.01, 0.05, 0.10, 0.20, 0.30, 0.40, 0.50, 0.60, 0.70,
> 0.80, 0.90/)
>
> apcpres at cnFillColors = (/ "white", "2", "3", "4", "5", "6", "7", "8", "9",
> "10", "11", "12"/)
>
> apcpres at pmLabelBarParallelPosF = .5
>
> apcpres at pmLabelBarOrthogonalPosF = 0.0
>
> apcpres at pmLabelBarHeightF = .02
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
More information about the ncl-talk
mailing list