<div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Hi<br><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">I have a 3d global data for ozone (time, lat, lon) and I want to plot only over south asia. I am able to get a nice plot when plotting the full data (with the world map in the background), but couldn't achieve the same for south asia.<br><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">I am currently using the gsn_csm_contour_map function.<br><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">My script is below:<br><br></div><div><div class="gmail_signature"><div dir="ltr"><font size="1"><span style="font-family:tahoma,sans-serif">load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"<br>load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"<br>begin<br>a=addfile("/data2/ACCMIP/processed/acchist/o3tropcol_2000Trop/UM-CAM/r1i1p1/v2/o3tropcol_ACCMIP-monthly_UM-CAM_acchist_r1i1p1_200101-200112.nc","r")<br>wks = gsn_open_wks("x11","ozone-jan")<br>ozone = a->o3tropcol(1,10:30,20:35)<br>res=True<br>res@cnFillOn= True ; turn on color<br>gsn_define_colormap(wks,"gui_default") ; choose a colormap<br>res@cnLineLabelsOn = False ; Turn off contour line labels<br>res@cnLinesOn = False ; Turn off contour line labels<br>res@cnLevelSelectionMode = "ManualLevels" ; manually set the contour levels with the following 3 resources<br>res@cnMinLevelValF = 0 ; set the minimum contour level<br>res@cnMaxLevelValF = 52 ; set the maximum contour level<br>res@cnLevelSpacingF = 2 ; set the interval between contours<br>plot= gsn_csm_contour_<div class="gmail_default" style="font-family:trebuchet ms,sans-serif;display:inline">map</div>(wks,ozone,res)<br>end<br><span><br><br><br></span><span></span></span></font><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;display:inline">Thanks in advance.<br><br><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;display:inline">Tabish</div><br></div></div></div>
</div>