[model-user@model-vm ~]$ ncl Copyright (C) 1995-2015 - All Rights Reserved University Corporation for Atmospheric Research NCAR Command Language Version 6.3.0 The use of this software is governed by a License Agreement. See http://www.ncl.ucar.edu/ for more details. ncl 0> dir = "/home/model-user/CESM/" ncl 1> filen = "cesmdata/inputdata/atm/cam/ozone/waccm_ozone_c121126.nc" ncl 2> f1 = addfile("cesmdata/inputdata/atm/cam/ozone/waccm_ozone_c121126.nc","r") ncl 3> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl" ncl 4> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl" ncl 5> begin ncl 6> vNames = getfilevarnames (f1) ncl 7> nNames = dimsizes (vNames) ncl 8> print (vNames) ncl 9> O3 = f1->O3 ncl 10> O30D = O3 ncl 11> wks = gsn_open_wks("ps","proj") ncl 12> gsn_define_colormap(wks,"gui_default") ncl 13> res = True ncl 14> res@mpProjection = "Mollweide" ncl 15> res@mpGridAndLimb0n = True ncl 16> res@mpPerimon = False ncl 17> res@mpGridLatSpacingF = 30 ncl 18> res@mpGridLonSpacingF = 30 ncl 19> res@mpFillOn = False ncl 20> res@cnFillOn = True ncl 21> res@cnLineLabelsOn = False ncl 22> res@txFontHeightF = 0.015 ncl 23> res@vpXF =0.1 ncl 24> res@vpXF = 0.1 ncl 25> res@vpYF = 0.1 ncl 26> res@vpYF = 0.8 ncl 27> res@vpWidthF = 0.8 ncl 28> res@vpHeightF = 0.8 ncl 29> res@gsnSpreadColors = True ncl 30> res@gsnSpreadColorStart = 2 ncl 31> res@gsnSpreadColorEnd = -3 ncl 32> res@lbLabelFontHeightF = 0.015 ncl 33> res@tiMainString = "Figure 5" ncl 34> res@tiMainFontHeightF = .018 ncl 35> n = 0. ncl 36> contour = gsn_csm_contour_map(wks,O3(0,:,:,:,),res) fatal:syntax error: line 36 before or near ) contour = gsn_csm_contour_map(wks,O3(0,:,:,:,) ---------------------------------------------^ fatal:Error in subscript, normal subscripting is being used, make sure named subscripting has not been used fatal:syntax error: function gsn_csm_contour_map expects 3 arguments, got 1 fatal:error at line 36 ncl 37> end Variable: vNames Type: string Total Size: 88 bytes 11 values Number of Dimensions: 1 Dimensions and sizes: [11] Coordinates: (0) O3 (1) P0 (2) PS (3) date (4) datesec (5) hyam (6) hybm (7) lat (8) lev (9) lon (10) time ncl 38>