<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Dear NCL users,</div><div dir="ltr"><br></div><div dir="ltr">for computing 95% CI, I used the following code. </div><div dir="ltr">In that, I am trying to first calculate the 95% CI and then overlay (with pattern/shading fill) with the other plot. But I am not getting the 95% area over the high correlation area. So, could you please let me know whether I am using the correct code or not.</div><div dir="ltr">The result is also attached herewith.</div><div></div><div><br></div><div><br></div><div><div>;**********************************************</div><div>;Calculating significance</div><div>;**********************************************</div><div><br></div><div> prob_Dec=rtest(ccr,24,0)</div><div> sig_Dec =100*(1-prob_Dec)</div><div><br></div><div>printVarSummary(sig_Dec)  </div><div><br></div><div> copy_VarAtts(ts2, sig_Dec)                    </div><div> copy_VarCoords_1(ts1,sig_Dec)</div><div> </div><div> sig_Dec = mask(sig_Dec, sig_Dec.ge.100,False) </div><div> sig_Dec = mask(sig_Dec, sig_Dec.lt.90,False)</div><div>  </div><div><br></div><div>  res2=True</div><div>  res2@gsnLeftString     = ""</div><div>  res2@gsnRightString     = ""</div><div>  res2@gsnDraw              = False           ; Do not draw plot</div><div>  res2@gsnFrame             = False           ; Do not advance frome   </div><div>  ;res2@cnMonoFillColor      = False</div><div>  res2@cnLinesOn            = False    ; turn off contour lines</div><div>  res2@lbLabelBarOn         = False                            ; turn off label bar</div><div>  res2@cnFillColor          = "black"</div><div>  res2@cnLevelSelectionMode = "ManualLevels"   ; manually specify contour levels</div><div>  res2@cnMinLevelValF       = 90             ; min level</div><div>  res2@cnMaxLevelValF       = 100             ; max level</div><div>  res2@cnLevelSpacingF      =  1              ; contour interval</div><div>  res2@gsnSpreadColors      = False</div><div><br></div><div><br></div><div>   plotB=gsn_csm_contour(wks,sig_Dec, res2) ; contours are at 90,100 </div><div><br></div><div>   opt = True</div><div>   opt@gsnShadeFillType = "pattern" ; pattern fill</div><div>   opt@gsnShadeHigh =16     ; use pattern #2</div><div>   opt@gsnShadeFillDotSizeF =  2</div><div>   plotc=gsn_contour_shade(plotB,-999.,90.,opt) </div></div><div><br></div><div><div>  </div><div>  pmres                        =  True</div><div>  pmres@gsMarkerColor          = "white"       ;-- marker color</div><div>  pmres@gsMarkerSizeF          =  50       ;-- set size of marker</div><div>  pmres@gsLineThicknessF       =  46.          ;-- marker line thickness</div><div>  pmres@gsMarkerIndex          = 1</div><div>  pmres@gsFillColor            = "white"</div><div>    </div></div><div><br></div><div>SUMMARY:</div><div><br></div><div><p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Variable: ts1</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Type: float</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Total Size: 389486592 bytes</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">            97371648 values</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Number of Dimensions: 3</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Dimensions and sizes:<span class="gmail-Apple-tab-span" style="white-space:pre">       </span>[lat | 2112] x [lon | 1921] x [time | 24]</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Coordinates: </span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">            lat: [5.0078125..37.9921875]</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">            lon: [  68..  98]</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">            time: [9465090..9465113]</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Number Of Attributes: 8</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">  vmin :<span class="gmail-Apple-tab-span" style="white-space:pre">   </span>-1e+15</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">  vmax :<span class="gmail-Apple-tab-span" style="white-space:pre">   </span>1e+15</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">  fmissing_value :<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>1e+15</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">  missing_value :<span class="gmail-Apple-tab-span" style="white-space:pre">  </span>1e+15</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">  _FillValue :<span class="gmail-Apple-tab-span" style="white-space:pre">     </span>1e+15</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">  units :<span class="gmail-Apple-tab-span" style="white-space:pre">  </span>kg m-3</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">  </span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Variable: ts2</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Type: float</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Total Size: 389486592 bytes</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">            97371648 values</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Number of Dimensions: 3</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Dimensions and sizes:<span class="gmail-Apple-tab-span" style="white-space:pre">       </span>[lat | 2112] x [lon | 1921] x [time | 24]</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Coordinates: </span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">            lat: [5.0078125..37.9921875]</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">            lon: [  68..  98]</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">            time: [9466530..9466553]</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Number Of Attributes: 8</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">  vmin :<span class="gmail-Apple-tab-span" style="white-space:pre">   </span>-1e+15</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">  vmax :<span class="gmail-Apple-tab-span" style="white-space:pre">   </span>1e+15</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">  fmissing_value :<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>1e+15</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">  missing_value :<span class="gmail-Apple-tab-span" style="white-space:pre">  </span>1e+15</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">  _FillValue :<span class="gmail-Apple-tab-span" style="white-space:pre">     </span>1e+15</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">  units :<span class="gmail-Apple-tab-span" style="white-space:pre">  </span>m</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">  </span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Variable: ccr</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Type: float</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Total Size: 16228608 bytes</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">            4057152 values</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Number of Dimensions: 2</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Dimensions and sizes:<span class="gmail-Apple-tab-span" style="white-space:pre">       </span>[2112] x [1921]</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Coordinates: </span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Number Of Attributes: 1</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">  _FillValue :<span class="gmail-Apple-tab-span" style="white-space:pre">     </span>1e+15</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">(0)<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>min=-0.996108   max=0.325499</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;min-height:19px"><span style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Variable: sig_Dec</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Type: float</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Total Size: 16228608 bytes</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">            4057152 values</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Number of Dimensions: 2</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Dimensions and sizes:<span class="gmail-Apple-tab-span" style="white-space:pre">       </span>[2112] x [1921]</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Coordinates: </span></p></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><br></div><div><br></div><div><br clear="all"><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>---<br></div><div><font size="2"><span>Kunal<br></span></font></div><div><br></div><div><br></div><div><p style="margin:0px;border-collapse:collapse;font-family:Tahoma,Verdana;font-size:12px"><font color="#1F497D"><br></font></p></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>