;************************************************* ; conLab_5.ncl ;************************************************ load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl" load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl" ;************************************************ begin ;************************************************ ; read in netCDF file ;************************************************ a = addfile("uv300.nc","r") ;************************************************ ; read in zonal winds ;************************************************ u = a->U(1,:,:) ; read July zonal winds ;************************************************ ; create default plot ;************************************************ wks = gsn_open_wks("ps","conLab") ; open a ps file res = True res@mpMinLatF = -30 res@mpMaxLatF = 30 res@mpMinLonF = 0 res@mpMaxLonF = 70 res@tiMainString = "Randomized: w/ no adjustments" plot = gsn_csm_contour_map_ce(wks,u,res) ; create a default plot res@tiMainString = "Randomized: Density -> fm 0 to 3" res@cnLineLabelDensityF = 3.0 ; <1.0 = less, >1.0 = more plot = gsn_csm_contour_map_ce(wks,u,res) end