Dear ncl users
I computed the correlation between to variables w(time) and
ssta(lat,lon,time) by using escorc function and made the shaded
plot.(ccr2)...Also I computed the probability...Now I want to overlay the
95% confidence level contour line over the shaded plot.(only one black
contour line)...
Any help would be appreciated...
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
begin
in1=addfile("test.nc","r")
w=in1->w ;only time
ssta=in1->sst ; lat,lon,time
ccr2=escorc(w,ssta)
copy_VarAtts(w, ccr2)
copy_VarCoords_1(ssta, ccr2)
;*******Compute significance*************************************
siglevl=0.05
Nx=59
prob=rtest(ccr2,Nx,0)
;************Plotting option*****************************************
wks=gsn_open_wks("eps","cor_TTindxWD_SO_sst_anom_signi")
gsn_define_colormap(wks,"gui_default")
res=True
res@cnFillOn=True
res@gsnSpreadColors=True
res@cnLinesOn=False
res@lbLabelAutoStride=True
res@mpCenterLonF=180.0
plot=gsn_csm_contour_map_ce(wks,ccr2,res)
end
**********************************
Sebi
Climate and Global Modeling Division
Indian Institute of Tropical Meteorology
Pashan, Pune, 411 008
****************************************
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Mar 4 03:39:00 2010
This archive was generated by hypermail 2.1.8 : Thu Mar 04 2010 - 15:07:06 MST