<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div dir="ltr" id="yui_3_16_0_1_1444076292017_2540">Dear NCL Forum,</div><div id="yui_3_16_0_1_1444076292017_2828" dir="ltr"><br></div><div id="yui_3_16_0_1_1444076292017_2749" dir="ltr">Kindly assist me with the solutions to these errors. I tried to figure it but I couldn't instead i was getting different errors. Below is the scripts please.<br></div><div id="yui_3_16_0_1_1444076292017_2728" dir="ltr"><br></div><div id="yui_3_16_0_1_1444076292017_2727" dir="ltr"><br></div><div id="yui_3_16_0_1_1444076292017_2726" dir="ltr">ncl 0> dir = "/home/model-user/CESM/"<br class="" id="yui_3_16_0_1_1444076292017_2548">ncl 1> filen = "cesmdata/inputdata/atm/cam/ozone/waccm_ozone_c121126.nc"<br class="" id="yui_3_16_0_1_1444076292017_2550">ncl 2> f1 = addfile("cesmdata/inputdata/atm/cam/ozone/waccm_ozone_c121126.nc","r")<br class="" id="yui_3_16_0_1_1444076292017_2552">ncl 3> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl" <br class="" id="yui_3_16_0_1_1444076292017_2554">ncl 4> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl" <br class="" id="yui_3_16_0_1_1444076292017_2556">ncl 5> begin<br class="" id="yui_3_16_0_1_1444076292017_2558">ncl 6> vNames = getfilevarnames (f1)<br class="" id="yui_3_16_0_1_1444076292017_2560">ncl 7> nNames = dimsizes (vNames)<br class="" id="yui_3_16_0_1_1444076292017_2562">ncl 8> print (vNames)<br class="" id="yui_3_16_0_1_1444076292017_2564">ncl 9> O3 = f1->O3<br class="" id="yui_3_16_0_1_1444076292017_2566">ncl 10> O33d = O3(0,:,:,:,)<br class="" id="yui_3_16_0_1_1444076292017_2568">fatal:syntax error: line 10 before or near ) <br class="" id="yui_3_16_0_1_1444076292017_2570">O33d = O3(0,:,:,:,)<br class="" id="yui_3_16_0_1_1444076292017_2572">------------------^<br class="" id="yui_3_16_0_1_1444076292017_2574"><br class="" id="yui_3_16_0_1_1444076292017_2576">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_1444076292017_2578">ncl 11> wks = gsn_open_wks("ps","proj")<br class="" id="yui_3_16_0_1_1444076292017_2580">ncl 12> gsn_define_colormap(wks,"gui_default")<br class="" id="yui_3_16_0_1_1444076292017_2582">ncl 13> res = True<br class="" id="yui_3_16_0_1_1444076292017_2584">ncl 14> res@mpProjection = "Mollweide"<br class="" id="yui_3_16_0_1_1444076292017_2586">ncl 15> res@mpGridAndLimb0n = True<br class="" id="yui_3_16_0_1_1444076292017_2588">ncl 16> res@mpPerimon = False <br class="" id="yui_3_16_0_1_1444076292017_2590">ncl 17> res@mpGridLatSpacingF = 30<br class="" id="yui_3_16_0_1_1444076292017_2592">ncl 18> res@mpGridLonSpacingF = 30 <br class="" id="yui_3_16_0_1_1444076292017_2594">ncl 19> res@mpFillOn = False<br class="" id="yui_3_16_0_1_1444076292017_2596">ncl 20> res@cnFillOn = True <br class="" id="yui_3_16_0_1_1444076292017_2598">ncl 21> res@cnLineLabelsOn = False<br class="" id="yui_3_16_0_1_1444076292017_2600">ncl 22> res@txFontHeightF = 0.015<br class="" id="yui_3_16_0_1_1444076292017_2602">ncl 23> res@vpXF =0.1<br class="" id="yui_3_16_0_1_1444076292017_2604">ncl 24> res@vpXF = 0.1<br class="" id="yui_3_16_0_1_1444076292017_2606">ncl 25> res@vpYF = 0.1 <br class="" id="yui_3_16_0_1_1444076292017_2608">ncl 26> res@vpYF = 0.8<br class="" id="yui_3_16_0_1_1444076292017_2610">ncl 27> res@vpWidthF = 0.8<br class="" id="yui_3_16_0_1_1444076292017_2612">ncl 28> res@vpHeightF = 0.8 <br class="" id="yui_3_16_0_1_1444076292017_2614">ncl 29> res@gsnSpreadColors = True<br class="" id="yui_3_16_0_1_1444076292017_2616">ncl 30> res@gsnSpreadColorStart = 2<br class="" id="yui_3_16_0_1_1444076292017_2618">ncl 31> res@gsnSpreadColorEnd = -3 <br class="" id="yui_3_16_0_1_1444076292017_2620">ncl 32> res@lbLabelFontHeightF = 0.015<br class="" id="yui_3_16_0_1_1444076292017_2622">ncl 33> res@tiMainString = "Figure 5"<br class="" id="yui_3_16_0_1_1444076292017_2624">ncl 34> res@tiMainFontHeightF = .018<br class="" id="yui_3_16_0_1_1444076292017_2626">ncl 35> contour = gsn_csm_contour_map(wks,O33d(0,:,:,:,),res)<br class="" id="yui_3_16_0_1_1444076292017_2628">fatal:syntax error: line 35 before or near ) <br class="" id="yui_3_16_0_1_1444076292017_2630">contour = gsn_csm_contour_map(wks,O33d(0,:,:,:,)<br class="" id="yui_3_16_0_1_1444076292017_2632">-----------------------------------------------^<br class="" id="yui_3_16_0_1_1444076292017_2634"><br class="" id="yui_3_16_0_1_1444076292017_2636">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_1444076292017_2638">fatal:syntax error: function gsn_csm_contour_map expects 3 arguments, got 1<br class="" id="yui_3_16_0_1_1444076292017_2640">fatal:error at line 35<br class="" id="yui_3_16_0_1_1444076292017_2642"><br class="" id="yui_3_16_0_1_1444076292017_2644">ncl 36> end<br class="" id="yui_3_16_0_1_1444076292017_2646"><br class="" id="yui_3_16_0_1_1444076292017_2648"><br class="" id="yui_3_16_0_1_1444076292017_2650">Variable: vNames<br class="" id="yui_3_16_0_1_1444076292017_2652">Type: string<br class="" id="yui_3_16_0_1_1444076292017_2654">Total Size: 88 bytes<br class="" id="yui_3_16_0_1_1444076292017_2656"> 11 values<br class="" id="yui_3_16_0_1_1444076292017_2658">Number of Dimensions: 1<br class="" id="yui_3_16_0_1_1444076292017_2660">Dimensions and sizes: [11]<br class="" id="yui_3_16_0_1_1444076292017_2662">Coordinates: <br class="" id="yui_3_16_0_1_1444076292017_2664">(0) O3<br class="" id="yui_3_16_0_1_1444076292017_2666">(1) P0<br class="" id="yui_3_16_0_1_1444076292017_2668">(2) PS<br class="" id="yui_3_16_0_1_1444076292017_2670">(3) date<br class="" id="yui_3_16_0_1_1444076292017_2672">(4) datesec<br class="" id="yui_3_16_0_1_1444076292017_2674">(5) hyam<br class="" id="yui_3_16_0_1_1444076292017_2676">(6) hybm<br class="" id="yui_3_16_0_1_1444076292017_2678">(7) lat<br class="" id="yui_3_16_0_1_1444076292017_2680">(8) lev<br class="" id="yui_3_16_0_1_1444076292017_2682">(9) lon<br class="" id="yui_3_16_0_1_1444076292017_2684">(10) time<br class="" id="yui_3_16_0_1_1444076292017_2686">ncl 37> </div><div id="yui_3_16_0_1_1444076292017_2713" dir="ltr"><br></div><div id="yui_3_16_0_1_1444076292017_2714" dir="ltr">Thank you.</div><div id="yui_3_16_0_1_1444076292017_2715" dir="ltr"><br></div><div dir="ltr">Najib<br></div></div></body></html>