[ncl-talk] ncl error message with v6.4 on yellowstone

Adam Phillips asphilli at ucar.edu
Mon Apr 3 20:41:53 MDT 2017


Hi Glen,
I coincidentally came across this today as well. The issue was occurring because I was paneling XY plots that cannot have an associated labelbar, and I was also setting gsnPanelLabelBar to True in my panel resource list. Setting gsnPanelLabelBar to False fixed the issue for me. I didn't go back and check but I didn't think this situation caused a fatal error in 6.3.0 either.

If switching the gsnPanelLabelBar resource doesn't fix the issue let us know..
Adam

> On Apr 3, 2017, at 5:07 PM, Glen Romine <romine at ucar.edu> wrote:
> 
> I have a script that is failing on the call to gsn_panel (call on line 
> 169) with ncl v6.4.0. The error message is shown below, followed by the 
> options for gsn_panel. If I switch back to version 6.3.0 I do not get an 
> error. If you need info on what is being plotted in the panels, let me 
> know, but I'm guessing this is not important for the debugging here.
> 
> fatal:Variable (mono_fill_scl) is undefined
> fatal:["Execute.c":8640]:Execute: Error occurred at or near line 6111 in 
> file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl
> 
> fatal:["Execute.c":8640]:Execute: Error occurred at or near line 6133 in 
> file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl
> 
> fatal:["Execute.c":8640]:Execute: Error occurred at or near line 6468 in 
> file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl
> 
> fatal:["Execute.c":8640]:Execute: Error occurred at or near line 7078 in 
> file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl
> 
> fatal:["Execute.c":8640]:Execute: Error occurred at or near line 169 in 
> file plot_diag_radiosonde.ncl
> 
> 
> ;************************************************
> ; create panel
> ;************************************************
>  resP                     = True
>  resP at gsnFrame            = False
>  resP at gsnMaximize         = True
>  resP at gsnPaperOrientation = "landscape"
> 
>  resP at txFontHeightF       = .021
>  resP at txFuncCode        = "~"
>  resP at txString            = long_names(varindex)
>  resP at gsnPanelLabelBar    = True
>  resP at lbLabelFontHeightF  = 0.01
>  resP at gsnPanelXWhiteSpacePercent = 2
>  resP at gsnPanelYWhiteSpacePercent = 2
> 
>  gsn_panel(wks,plot,(/1,2/),resP)          ; line 169 in the script
> 
> _______________________________________________
> 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