<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1443725484375_2793" dir="ltr">Dear NCL forum,</div><div id="yui_3_16_0_1_1443725484375_2868" dir="ltr">Kindly assist me with the solution to the errors on the script below. I tried but was getting different error at the end i arrived here but still getting these errors. Kindly assist.</div><div id="yui_3_16_0_1_1443725484375_2904" dir="ltr"><br></div><div dir="ltr">Thank you.<br></div><div dir="ltr"><br></div><div id="yui_3_16_0_1_1443725484375_2905" dir="ltr"><br></div><div dir="ltr"><br></div><div id="yui_3_16_0_1_1443725484375_2906" dir="ltr"> NCAR Command Language Version 6.3.0<br class="" id="yui_3_16_0_1_1443725484375_2688"> The use of this software is governed by a License Agreement.<br class="" id="yui_3_16_0_1_1443725484375_2690"> See http://www.ncl.ucar.edu/ for more details.<br class="" id="yui_3_16_0_1_1443725484375_2692">ncl 0> dir = "/home/model-user/CESM/"<br class="" id="yui_3_16_0_1_1443725484375_2694">ncl 1> filen = "cesmdata/inputdata/atm/cam/ozone/waccm_ozone_c121126.nc"<br class="" id="yui_3_16_0_1_1443725484375_2696">ncl 2> f1 = addfile("cesmdata/inputdata/atm/cam/ozone/waccm_ozone_c121126.nc","r")<br class="" id="yui_3_16_0_1_1443725484375_2698">ncl 3> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl" <br class="" id="yui_3_16_0_1_1443725484375_2700">ncl 4> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl" <br class="" id="yui_3_16_0_1_1443725484375_2702">ncl 5> begin<br class="" id="yui_3_16_0_1_1443725484375_2704">ncl 6> vNames = getfilevarnames (f1)<br class="" id="yui_3_16_0_1_1443725484375_2706">ncl 7> nNames = dimsizes (vNames)<br class="" id="yui_3_16_0_1_1443725484375_2708">ncl 8> print (vNames)<br class="" id="yui_3_16_0_1_1443725484375_2710">ncl 9> O3 = f1->O3<br class="" id="yui_3_16_0_1_1443725484375_2712">ncl 10> O31D = O3(0,)<br class="" id="yui_3_16_0_1_1443725484375_2714">fatal:syntax error: line 10 before or near ) <br class="" id="yui_3_16_0_1_1443725484375_2716">O31D = O3(0,)<br class="" id="yui_3_16_0_1_1443725484375_2718">------------^<br class="" id="yui_3_16_0_1_1443725484375_2720"><br class="" id="yui_3_16_0_1_1443725484375_2722">fatal:Error in subscript, normal subscripting is being used, make sure named subscripting has not been used<br class="" id="yui_3_16_0_1_1443725484375_2724">ncl 11> wks = gsn_open_wks("ps","proj")<br class="" id="yui_3_16_0_1_1443725484375_2726">ncl 12> gsn_define_colormap(wks,"gui_default")<br class="" id="yui_3_16_0_1_1443725484375_2728">ncl 13> res = True<br class="" id="yui_3_16_0_1_1443725484375_2730">ncl 14> res@mpProjection = "Mollweide"<br class="" id="yui_3_16_0_1_1443725484375_2732">ncl 15> res@mpGridAndLimb0n = True<br class="" id="yui_3_16_0_1_1443725484375_2734">ncl 16> res@mpPerimon = False <br class="" id="yui_3_16_0_1_1443725484375_2736">ncl 17> res@mpGridLatSpacingF = 30<br class="" id="yui_3_16_0_1_1443725484375_2738">ncl 18> res@mpGridLonSpacingF = 30 <br class="" id="yui_3_16_0_1_1443725484375_2740">ncl 19> res@mpFillOn = False<br class="" id="yui_3_16_0_1_1443725484375_2742">ncl 20> res@cnFillOn = True <br class="" id="yui_3_16_0_1_1443725484375_2744">ncl 21> res@cnLineLabelsOn = False<br class="" id="yui_3_16_0_1_1443725484375_2746">ncl 22> res@txFontHeightF = 0.015<br class="" id="yui_3_16_0_1_1443725484375_2748">ncl 23> res@vpXF =0.1<br class="" id="yui_3_16_0_1_1443725484375_2750">ncl 24> res@vpXF = 0.1<br class="" id="yui_3_16_0_1_1443725484375_2752">ncl 25> res@vpYF = 0.1 <br class="" id="yui_3_16_0_1_1443725484375_2754">ncl 26> res@vpYF = 0.8<br class="" id="yui_3_16_0_1_1443725484375_2756">ncl 27> res@vpWidthF = 0.8<br class="" id="yui_3_16_0_1_1443725484375_2758">ncl 28> res@vpHeightF = 0.8 <br class="" id="yui_3_16_0_1_1443725484375_2760">ncl 29> res@gsnSpreadColors = True<br class="" id="yui_3_16_0_1_1443725484375_2762">ncl 30> res@gsnSpreadColorStart = 2<br class="" id="yui_3_16_0_1_1443725484375_2764">ncl 31> res@gsnSpreadColorEnd = -3 <br class="" id="yui_3_16_0_1_1443725484375_2766">ncl 32> res@lbLabelFontHeightF = 0.015<br class="" id="yui_3_16_0_1_1443725484375_2768">ncl 33> res@tiMainString = "Figure 5"<br class="" id="yui_3_16_0_1_1443725484375_2770">ncl 34> res@tiMainFontHeightF = .018<br class="" id="yui_3_16_0_1_1443725484375_2772">ncl 35> do n = 0,11<br class="" id="yui_3_16_0_1_1443725484375_2774">ncl 36> printVarSummary(n,:,:,:)<br class="" id="yui_3_16_0_1_1443725484375_2776">fatal:syntax error: line 36 before or near : <br class="" id="yui_3_16_0_1_1443725484375_2778">printVarSummary(n,:<br class="" id="yui_3_16_0_1_1443725484375_2780">------------------^<br class="" id="yui_3_16_0_1_1443725484375_2782"><br class="" id="yui_3_16_0_1_1443725484375_2784">fatal:error in statement<br class="" id="yui_3_16_0_1_1443725484375_2786">ncl 37> contour = gsn_csm_contour_map_ce(wks,O3(n,:,:,:),res)<br class="" id="yui_3_16_0_1_1443725484375_2788">ncl 38> end do<br class="" id="yui_3_16_0_1_1443725484375_2790">ncl 39> end<br class="" id="yui_3_16_0_1_1443725484375_2792"></div><div dir="ltr"><br></div><div dir="ltr">Najib Yusuf</div><div dir="ltr">Centre for Atmospheric Research, Anyigba</div><div id="yui_3_16_0_1_1443725484375_2919" dir="ltr">Nigeria<br></div></div></body></html>