;================================================; ; conwomap_2.ncl ;================================================; load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl" load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl" ; ================================================; begin ;=================================================; ; open file and read in data ;=================================================; f = addfile("cone.nc","r") u = f->u(4,:,:) ;=================================================; ; PLOT 2 ;=================================================; wks = gsn_open_wks("ps","conwomap") ; open a ncgm file gsn_define_colormap(wks,"gui_default") ; choose a colormap res = True ; plot mods desired res@cnFillOn = True ; turn on color res@gsnSpreadColors = True ; use full range of colormap res@vpWidthF = 0.5 ; change aspect ratio of plot res@vpHeightF = 0.3 plot = gsn_csm_contour(wks,u,res) ; contour the variable ; In this file, the coordinate variables of the data are listed as ; lat and long, but they are really just index points, which makes this ; data suitable for plotting without a map. end