<div>Hi all,</div><div><span style="font-family: 'lucida Grande', Verdana, 'Microsoft YaHei'; line-height: 23.7999992370605px;">I'm trying to draw the trend and its significance level above 95%, the data has been stored in jantest.nc. But it always warning&nbsp;</span></div><div><font face="lucida Grande, Verdana, Microsoft YaHei"><span style="line-height: 23.7999992370605px;">gsnShadeFillType is not a valid resource in re_contour at this time</span></font></div><div><font face="lucida Grande, Verdana, Microsoft YaHei"><span style="line-height: 23.7999992370605px;">gsnShadeHigh is not a valid resource in re_contour at this time</span></font></div><div><font face="lucida Grande, Verdana, Microsoft YaHei"><span style="line-height: 23.7999992370605px;">I have referred to this: http://www.ncl.ucar.edu/Applications/Scripts/coneff_7.ncl</span></font></div><div>so I just don't know why and how to solve this problem.&nbsp;</div><div><span style="font-family: 'lucida Grande', Verdana, 'Microsoft YaHei'; line-height: 23.7999992370605px;">It's very appreciate if you could help me find a way to sove the problem. Thanks a lot!</span></div><div><span style="font-family: 'lucida Grande', Verdana, 'Microsoft YaHei'; line-height: 23.7999992370605px;"><br></span></div><div><span style="font-family: 'lucida Grande', Verdana, 'Microsoft YaHei'; line-height: 23.7999992370605px;">Here is my script.</span></div><div><div><font face="lucida Grande, Verdana, Microsoft YaHei"><span style="line-height: 23.7999992370605px;"><br></span></font></div><div><font face="lucida Grande, Verdana, Microsoft YaHei"><span style="line-height: 23.7999992370605px;">load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"</span></font></div><div><font face="lucida Grande, Verdana, Microsoft YaHei"><span style="line-height: 23.7999992370605px;">load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"</span></font></div><div><font face="lucida Grande, Verdana, Microsoft YaHei"><span style="line-height: 23.7999992370605px;">load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"</span></font></div><div><font face="lucida Grande, Verdana, Microsoft YaHei"><span style="line-height: 23.7999992370605px;">load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/shea_util.ncl"</span></font></div><div><font face="lucida Grande, Verdana, Microsoft YaHei"><span style="line-height: 23.7999992370605px;">f = addfile("jantest.nc","r")</span></font></div><div><font face="lucida Grande, Verdana, Microsoft YaHei"><span style="line-height: 23.7999992370605px;">trend=f-&gt;jantrend</span></font></div><div><font face="lucida Grande, Verdana, Microsoft YaHei"><span style="line-height: 23.7999992370605px;">sig=f-&gt;sig</span></font></div><div><font face="lucida Grande, Verdana, Microsoft YaHei"><span style="line-height: 23.7999992370605px;"><br></span></font></div><div><font face="lucida Grande, Verdana, Microsoft YaHei"><span style="line-height: 23.7999992370605px;">wks &nbsp;= gsn_open_wks("eps" ,"re")&nbsp;</span></font></div><div><font face="lucida Grande, Verdana, Microsoft YaHei"><span style="line-height: 23.7999992370605px;">res &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = True &nbsp; &nbsp;&nbsp;</span></font></div><div><font face="lucida Grande, Verdana, Microsoft YaHei"><span style="line-height: 23.7999992370605px;">res@gsnDraw &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= True &nbsp; &nbsp; &nbsp;</span></font></div><div><font face="lucida Grande, Verdana, Microsoft YaHei"><span style="line-height: 23.7999992370605px;">res@cnLevelSelectionMode = "ManualLevels"</span></font></div><div><font face="lucida Grande, Verdana, Microsoft YaHei"><span style="line-height: 23.7999992370605px;">res@cnMinLevelValF &nbsp; &nbsp; &nbsp; = -4</span></font></div><div><font face="lucida Grande, Verdana, Microsoft YaHei"><span style="line-height: 23.7999992370605px;">res@cnMaxLevelValF &nbsp; &nbsp; &nbsp; = &nbsp;4</span></font></div><div><font face="lucida Grande, Verdana, Microsoft YaHei"><span style="line-height: 23.7999992370605px;">res@cnLevelSpacingF &nbsp; &nbsp; &nbsp;= &nbsp;0.5</span></font></div><div><font face="lucida Grande, Verdana, Microsoft YaHei"><span style="line-height: 23.7999992370605px;">res@cnLineLabelInterval &nbsp;= 1</span></font></div><div><font face="lucida Grande, Verdana, Microsoft YaHei"><span style="line-height: 23.7999992370605px;">res@cnSmoothingOn &nbsp; &nbsp; &nbsp; &nbsp;= True</span></font></div><div><font face="lucida Grande, Verdana, Microsoft YaHei"><span style="line-height: 23.7999992370605px;">plot0 = gsn_csm_contour(wks,trend,res)</span></font></div><div><br></div><div><font face="lucida Grande, Verdana, Microsoft YaHei"><span style="line-height: 23.7999992370605px;">opt = True</span></font></div><div><font face="lucida Grande, Verdana, Microsoft YaHei"><span style="line-height: 23.7999992370605px;">opt@gsnShadeFillType = "pattern" &nbsp;&nbsp;</span></font></div><div><font face="lucida Grande, Verdana, Microsoft YaHei"><span style="line-height: 23.7999992370605px;">opt@gsnShadeHigh =17 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</span></font></div><div><font face="lucida Grande, Verdana, Microsoft YaHei"><span style="line-height: 23.7999992370605px;">plota = gsn_csm_contour(wks,sig,opt) &nbsp;&nbsp;</span></font></div><div><font face="lucida Grande, Verdana, Microsoft YaHei"><span style="line-height: 23.7999992370605px;">plota = ShadeGtContour(plota,0.95,17)</span></font></div><div><font face="lucida Grande, Verdana, Microsoft YaHei"><span style="line-height: 23.7999992370605px;">overlay(plot0,plota)&nbsp;</span></font></div><div><font face="lucida Grande, Verdana, Microsoft YaHei"><span style="line-height: 23.7999992370605px;">draw(plot0)</span></font></div><div><font face="lucida Grande, Verdana, Microsoft YaHei"><span style="line-height: 23.7999992370605px;">frame(wks)</span></font></div></div><div><font face="lucida Grande, Verdana, Microsoft YaHei"><span style="line-height: 23.7999992370605px;"><br></span></font></div><div><span style="font-family: 'lucida Grande', Verdana, 'Microsoft YaHei'; line-height: 23.7999992370605px;">Sincerely, </span></div><div><span style="font-family: 'lucida Grande', Verdana, 'Microsoft YaHei'; line-height: 23.7999992370605px;">Yan</span></div><div><br></div>