<div dir="ltr"><div>Hi Anahita,</div><div dir="ltr">Thanks for sending the error message. The message is telling you what to do:<div><div><br></div><div>gsn_add_cyclic: Warning: The range of your longitude data is not 360.</div><div>(0)<span style="white-space:pre"> </span>You may want to set the gsnAddCyclic resource to False to avoid a</div><div>(0)<span style="white-space:pre"> </span>warning message from the spline function.</div></div><div><br></div><div>Try setting res@gsnAddCyclic = False and see if that helps.</div><div>Adam</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 1, 2019 at 4:39 PM Anahita Amiri Farahani <<a href="mailto:aamir003@ucr.edu">aamir003@ucr.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><span style="background-color:rgb(255,255,255)"><font color="#000000">and the error is:</font></span><div>
<p class="gmail-m_8193986707749527567gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:"Andale Mono""><span class="gmail-m_8193986707749527567gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font color="#000000">(0)<span class="gmail-m_8193986707749527567gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>gsn_add_cyclic: Warning: The range of your longitude data is not 360.</font></span></p>
<p class="gmail-m_8193986707749527567gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:"Andale Mono""><span class="gmail-m_8193986707749527567gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font color="#000000">(0)<span class="gmail-m_8193986707749527567gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>You may want to set the gsnAddCyclic resource to False to avoid a</font></span></p>
<p class="gmail-m_8193986707749527567gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:"Andale Mono""><span class="gmail-m_8193986707749527567gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font color="#000000">(0)<span class="gmail-m_8193986707749527567gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>warning message from the spline function.</font></span></p>
<p class="gmail-m_8193986707749527567gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:"Andale Mono""><span class="gmail-m_8193986707749527567gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font color="#000000">warning:_NhlCreateSplineCoordApprox: Attempt to create spline approximation for X axis failed: consider adjusting trXTensionF value</font></span></p>
<p class="gmail-m_8193986707749527567gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:"Andale Mono""><span class="gmail-m_8193986707749527567gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font color="#000000">warning:IrTransInitialize: error creating spline approximation for trXCoordPoints; defaulting to linear</font></span></p>
<p class="gmail-m_8193986707749527567gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:"Andale Mono""><span class="gmail-m_8193986707749527567gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font color="#000000">(0)<span class="gmail-m_8193986707749527567gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>gsn_add_cyclic: Warning: The range of your longitude data is not 360.</font></span></p>
<p class="gmail-m_8193986707749527567gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:"Andale Mono""><span class="gmail-m_8193986707749527567gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font color="#000000">(0)<span class="gmail-m_8193986707749527567gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>You may want to set the gsnAddCyclic resource to False to avoid a</font></span></p>
<p class="gmail-m_8193986707749527567gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:"Andale Mono""><span class="gmail-m_8193986707749527567gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font color="#000000">(0)<span class="gmail-m_8193986707749527567gmail-Apple-tab-span" style="white-space:pre-wrap"> </span>warning message from the spline function.</font></span></p>
<p class="gmail-m_8193986707749527567gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:"Andale Mono""><span class="gmail-m_8193986707749527567gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font color="#000000">warning:_NhlCreateSplineCoordApprox: Attempt to create spline approximation for X axis failed: consider adjusting trXTensionF value</font></span></p>
<p class="gmail-m_8193986707749527567gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;font-family:"Andale Mono""><span class="gmail-m_8193986707749527567gmail-s1" style="font-variant-ligatures:no-common-ligatures;background-color:rgb(255,255,255)"><font color="#000000">warning:IrTransInitialize: error creating spline approximation for trXCoordPoints; defaulting to linear</font></span></p></div></div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span><div class="gmail_quote"><div dir="ltr" class="gmail_attr"><span style="background-color:rgb(255,255,255)"><font color="#000000">On Mon, Apr 1, 2019 at 3:08 PM Anahita Amiri Farahani <<a href="mailto:aamir003@ucr.edu" target="_blank">aamir003@ucr.edu</a>> wrote:<br></font></span></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><span style="background-color:rgb(255,255,255)"><font color="#000000">Dear all,</font></span><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">I try to extract some part of Africa and plot it but it does not work, here is the code and attached is the plot.</font></span></div><div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/shea_util.ncl"</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">ana=addfile("SDE_sw_lw_cam4_dust_base.nc","r")</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">FSNT = lonFlip(ana->FSNT)</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">FSNTC = lonFlip(ana->FSNTC)</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">FLNT = lonFlip(ana->FLNT)</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">FLNTC= lonFlip(ana->FLNTC)</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">lat=ana->lat</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">lon=ana->lon</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">delete(ana)</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">ana=addfile("SDE_sw_lw_cam4_dust.nc","r")</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">FSNT_diff = lonFlip(ana->FSNT)</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">FSNTC_diff = lonFlip(ana->FSNTC)</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">FLNT_diff = lonFlip(ana->FLNT)</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">FLNTC_diff = lonFlip(ana->FLNTC)</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">delete(ana)</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">;************** AFRICA *****************</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">lat1 = lat(45:61)</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">lon1=fspan(-30,15,19)</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">lat1@units = "degrees_north"</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">lon1@units = "degrees_east"</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">rad = 4.0*atan(1.0)/180.0</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">clat = cos(lat1*rad)</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">;********************** BASE ******************************</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">sde_toa_sw1=FSNT(:,45:61,{-30:15})-FSNTC(:,45:61,{-30:15})</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">sde_toa_lw1=-1.*(FLNT(:,45:61,{-30:15})-FLNTC(:,45:61,{-30:15}))</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">;********************** Dust ******************************</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">sde_toa_sw_diff1=FSNT_diff(:,45:61,{-30:15})-FSNTC_diff(:,45:61,{-30:15})</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">sde_toa_lw_diff1=-1.*(FLNT_diff(:,45:61,{-30:15})-FLNTC_diff(:,45:61,{-30:15}))</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">; ******** Annual Global Mean CHANGES ********</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">sde_toa_tot= sde_toa_sw1 + sde_toa_lw1</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">sde_toa_tot_diff= sde_toa_sw_diff1 + sde_toa_lw_diff1</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">sde_toa=sde_toa_tot_diff-sde_toa_tot</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">;copy_VarCoords(FSNT,sde_toa)</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">sde_toa!2 = "lon" ; variable/dim name </font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">sde_toa&lon = lon1 ; create coordinate variable</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">sde_toa!1 = "lat" ; variable/dim name </font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">sde_toa&lat = lat1 ; create coordinate variable</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">sde_toa!0 = "time" </font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">copy_VarCoords(sde_toa,sde_toa_tot)</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">copy_VarCoords(sde_toa,sde_toa_tot_diff)</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">sde_toa_tot!0 = "time" ; variable/dim name </font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">sde_toa_tot_diff!0 = "time" ; variable/dim name </font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">;toa_toa_area = avg(wgt_areaave(sde_toa, area, 1.0, 0))</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">toa_toa_clat = avg(wgt_areaave(sde_toa, clat, 1.0, 0))</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">;print("sde_toa_tot="+toa_toa_area)</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">print("sde_toa_tot="+toa_toa_clat)</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">sde_toa_tot_annual = month_to_annual(sde_toa_tot, 1) </font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">sde_toa_tot_diff_annual = month_to_annual(sde_toa_tot_diff, 1)</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">dsizesPD = dimsizes(sde_toa_tot_diff_annual)</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">ntim = dsizesPD(0)</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">nlat = dsizesPD(1)</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">mlon = dsizesPD(2)</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">low_base = sde_toa_tot_annual(lat|:,lon|:,year|:) </font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">low_dust = sde_toa_tot_diff_annual(lat|:,lon|:,year|:) </font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">low_avebase = dim_avg(low_base)</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">low_avedust = dim_avg(low_dust)</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">low_varbase = dim_variance(low_base)</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">low_vardust = dim_variance(low_dust)</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">low_sPD = conform_dims((/nlat,mlon/),ntim,-1)</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">;alpha = swPD(0,:,:)</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">alpha = (1.0-ttest(low_avebase,low_varbase,low_sPD,low_avedust,low_vardust,low_sPD,False,False))</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">alpha!0 = "lat" </font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">alpha&lat = lat1 </font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">alpha!1 = "lon" </font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">alpha&lon = lon1 </font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">;***** Global Annual Significance ********</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">low_base_area = wgt_areaave(sde_toa_tot_annual, clat, 1.0, 0)</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">low_dust_area = wgt_areaave(sde_toa_tot_diff_annual, clat, 1.0, 0)</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">low_avD = avg(low_base_area)</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">low_avI = avg(low_dust_area)</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">low_vaD = variance(low_base_area)</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">low_vaI = variance(low_dust_area)</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">low_sD = ntim</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">low_prob = 100.0*(1.0-ttest(low_avD,low_vaD,low_sD,low_avI,low_vaI,low_sD,False,False))</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">print("Significance level of SDE_global = " + sprintf("%5.2f", low_prob))</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"> low_AAE = dim_avg(sde_toa(lat|:,lon|:,time|:))</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"> low_AAE!1 = "lon" ; variable/dim name </font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"> low_AAE&lon = lon1 ; create coordinate variable</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"> low_AAE!0 = "lat" ; variable/dim name </font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"> low_AAE&lat = lat1 ; create coordinate variable</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">wks = gsn_open_wks("eps","SDE_TOA_tot_ann")</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">gsn_define_colormap(wks,"BlWhRe") ; choose color</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">;gsn_define_colormap(wks,"BlAqGrYeOrRe") </font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"> res = True ; plot mods desired</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"> res@cnFillOn = True ; turn on color </font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"> res@gsnSpreadColors = True ; use full color map</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"> res@cnLinesOn = False ; no contour lines</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"> res@cnLineLabelsOn = False ; no line labels</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"> res@mpMaxLatF = 90 ; specify the plot domain</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"> res@mpMinLatF = -90 ; </font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"> res@mpMinLonF = 0 ;</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"> res@mpMaxLonF = 357.5 </font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"> res@mpCenterLonF= 0;178.75</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"> ;res@gsnAddCyclic = False </font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">;res@cnLevelSelectionMode = "AutomaticLevels" ; AutomaticLevels</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"> res@cnLevelSelectionMode = "ManualLevels" ; AutomaticLevels</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"> res@cnMinLevelValF = -4. ; min level</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"> res@cnMaxLevelValF = 4. ; max level</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"> res@cnLevelSpacingF = 0.2 ; interval</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">res@tiMainString = "Annual changes SDE at TOA "</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">res@gsnDraw = False ; Do not draw plot</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">res@gsnFrame = False ; Do not advance frome</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">plot = gsn_csm_contour_map_ce(wks,low_AAE(:,:), res) </font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000">; ========================= PLOT 2 ==============================</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"> res2 = True ; res2 probability plots</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"> res2@gsnDraw = False ; Do not draw plot</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"> res2@gsnFrame = False ; Do not advance frome</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"> res2@cnLevelSelectionMode = "ManualLevels" ; set manual contour levels</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"> res2@cnMinLevelValF = 0.00 ; set min contour level</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"> res2@cnMaxLevelValF = 1.05 ; set max contour level</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"> res2@cnLevelSpacingF = 0.05 ; set contour spacing</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"> res2@cnInfoLabelOn = False ; turn off info label</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"> res2@cnNoDataLabelOn = False</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"> res2@cnLinesOn = False ; do not draw contour lines</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"> res2@cnLineLabelsOn = False ; do not draw contour labels</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"> res2@gsnLeftString = ""</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"> res2@gsnRightString = ""</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"> res2@cnFillScaleF = 0.6 ; add extra density</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"> res2@cnLevelSpacingF = 0.04 ; set contour spacing</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"> plot2 = gsn_csm_contour(wks,gsn_add_cyclic_point(alpha(:,:)), res2) </font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"> plot2 = ShadeGtContour(plot2, 0.95, 17) ; shade all areas less than the</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"> ; 0.05 contour level</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"> overlay (plot, plot2)</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"> draw (plot)</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"> frame(wks)</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"> delete(wks)</font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#000000"><br></font></span></div><div><br></div></div></div></div>
</blockquote></div></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div><span><font color="#888888">Adam Phillips <br></font></span></div><span><font color="#888888">Associate Scientist, </font></span><span><font color="#888888">Climate and Global Dynamics Laboratory, NCAR<br></font></span></div></div><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli/" target="_blank">www.cgd.ucar.edu/staff/asphilli/</a> </font></span><span><font color="#888888">303-497-1726 </font></span></div><span><font color="#888888"></font></span><div><div><span><font color="#888888"><br></font></span><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli" target="_blank"></a></font></span></div></div></div></div></div></div></div></div></div></div></div>