<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><font face="Calibri,sans-serif"><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">Hi Dennis,</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;"><br></span></div><div><span style="font-size: 21px;">The information follows:</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;"><br></span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">Variable: tmp1</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">Type: double</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">Total Size: 46656000 bytes</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 5832000 values</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">Number of Dimensions: 3</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">Dimensions and sizes:<span class="Apple-tab-span" style="white-space:pre">        </span>[TIME | 360] x [lat | 90] x [lon | 180]</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">Coordinates:&nbsp;</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TIME: [527040..16260480]</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lat: [-89.69999694824219..89.69999694824219]</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lon: [ &nbsp; 0..359.7000122070312]</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">Number Of Attributes: 5</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; remap :<span class="Apple-tab-span" style="white-space:pre">        </span>remapped via ESMF_regrid_with_weights: Bilinear remapping</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; missing_value :<span class="Apple-tab-span" style="white-space:pre">        </span>-9.999999999999999e+33</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; _FillValue :<span class="Apple-tab-span" style="white-space:pre">        </span>-9.999999999999999e+33</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; long_name :<span class="Apple-tab-span" style="white-space:pre">        </span>SST[GX=X2DEG,GY=Y2DEG]</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; history :<span class="Apple-tab-span" style="white-space:pre">        </span>From sst</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;"><br></span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">Variable: tmp2</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">Type: float</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">Total Size: 23328000 bytes</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 5832000 values</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">Number of Dimensions: 3</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">Dimensions and sizes:<span class="Apple-tab-span" style="white-space:pre">        </span>[time | 360] x [lat | 90] x [lon | 180]</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">Coordinates:&nbsp;</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; time: [15.5..10941.5]</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lat: [-89.69999694824219..89.69999694824219]</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lon: [ &nbsp; 0..359.7000122070312]</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">Number Of Attributes: 12</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; remap :<span class="Apple-tab-span" style="white-space:pre">        </span>remapped via ESMF_regrid_with_weights: Bilinear remapping</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; associated_files :<span class="Apple-tab-span" style="white-space:pre">        </span>baseURL: http://cmip-pcmdi.llnl.gov/CMIP5/dataLocation gridspecFile: gridspec_ocean_fx_MRI-CGCM3_decadal1980_r0i0p0.nc areacello: areacello_fx_MRI-CGCM3_decadal1980_r0i0p0.nc</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; _FillValue :<span class="Apple-tab-span" style="white-space:pre">        </span>1e+20</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; missing_value :<span class="Apple-tab-span" style="white-space:pre">        </span>1e+20</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; history :<span class="Apple-tab-span" style="white-space:pre">        </span>2011-08-15T19:52:20Z altered by CMOR: replaced missing value flag (-9.99e+33) with standard missing value (1e+20).</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; cell_measures :<span class="Apple-tab-span" style="white-space:pre">        </span>area: areacello</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; cell_methods :<span class="Apple-tab-span" style="white-space:pre">        </span>time: mean (interval: 20 minutes)</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; original_name :<span class="Apple-tab-span" style="white-space:pre">        </span>tos</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; units :<span class="Apple-tab-span" style="white-space:pre">        </span>K</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; comment :<span class="Apple-tab-span" style="white-space:pre">        </span>"this may differ from ""surface temperature"" in regions of sea ice."</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; long_name :<span class="Apple-tab-span" style="white-space:pre">        </span>Sea Surface Temperature</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; standard_name :<span class="Apple-tab-span" style="white-space:pre">        </span>sea_surface_temperature</span></div><div><span style="font-size: 21px;">(0)<span class="Apple-tab-span" style="color: rgb(0, 0, 0); white-space: pre;">        </span><font color="#d24726">tmp2: min=0 max=304.18</font></span></div><div><span style="font-size: 21px;"><font color="#d24726">(0)<span class="Apple-tab-span" style="white-space:pre">        </span>tmp1: min=231.963 max=304.787</font></span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;"><br></span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">Variable: ts1</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">Type: double</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">Total Size: 46656000 bytes</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 5832000 values</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">Number of Dimensions: 3</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">Dimensions and sizes:<span class="Apple-tab-span" style="white-space:pre">        </span>[lat | 90] x [lon | 180] x [TIME | 360]</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">Coordinates:&nbsp;</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lat: [-89.69999694824219..89.69999694824219]</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lon: [ &nbsp; 0..359.7000122070312]</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TIME: [527040..16260480]</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">Number Of Attributes: 5</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; history :<span class="Apple-tab-span" style="white-space:pre">        </span>From sst</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; long_name :<span class="Apple-tab-span" style="white-space:pre">        </span>SST[GX=X2DEG,GY=Y2DEG]</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; _FillValue :<span class="Apple-tab-span" style="white-space:pre">        </span>-9.999999999999999e+33</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; missing_value :<span class="Apple-tab-span" style="white-space:pre">        </span>-9.999999999999999e+33</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; remap :<span class="Apple-tab-span" style="white-space:pre">        </span>remapped via ESMF_regrid_with_weights: Bilinear remapping</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;"><br></span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">Variable: ts2</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">Type: float</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">Total Size: 23328000 bytes</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 5832000 values</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">Number of Dimensions: 3</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">Dimensions and sizes:<span class="Apple-tab-span" style="white-space:pre">        </span>[lat | 90] x [lon | 180] x [time | 360]</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">Coordinates:&nbsp;</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lat: [-89.69999694824219..89.69999694824219]</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lon: [ &nbsp; 0..359.7000122070312]</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; time: [15.5..10941.5]</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">Number Of Attributes: 12</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; standard_name :<span class="Apple-tab-span" style="white-space:pre">        </span>sea_surface_temperature</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; long_name :<span class="Apple-tab-span" style="white-space:pre">        </span>Sea Surface Temperature</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; comment :<span class="Apple-tab-span" style="white-space:pre">        </span>"this may differ from ""surface temperature"" in regions of sea ice."</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; units :<span class="Apple-tab-span" style="white-space:pre">        </span>K</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; original_name :<span class="Apple-tab-span" style="white-space:pre">        </span>tos</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; cell_methods :<span class="Apple-tab-span" style="white-space:pre">        </span>time: mean (interval: 20 minutes)</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; cell_measures :<span class="Apple-tab-span" style="white-space:pre">        </span>area: areacello</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; history :<span class="Apple-tab-span" style="white-space:pre">        </span>2011-08-15T19:52:20Z altered by CMOR: replaced missing value flag (-9.99e+33) with standard missing value (1e+20).</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; missing_value :<span class="Apple-tab-span" style="white-space:pre">        </span>1e+20</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; _FillValue :<span class="Apple-tab-span" style="white-space:pre">        </span>1e+20</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; associated_files :<span class="Apple-tab-span" style="white-space:pre">        </span>baseURL: http://cmip-pcmdi.llnl.gov/CMIP5/dataLocation gridspecFile: gridspec_ocean_fx_MRI-CGCM3_decadal1980_r0i0p0.nc areacello: areacello_fx_MRI-CGCM3_decadal1980_r0i0p0.nc</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; remap :<span class="Apple-tab-span" style="white-space:pre">        </span>remapped via ESMF_regrid_with_weights: Bilinear remapping</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">warning:escorc: Non-fatal conditions encountered in series or xstd equals zero.</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">Possibly, all values of a series are constant.</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">warning:escorc: Most likely, one or more series consisted of all constant values</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;"><br></span></div><div><span style="font-size: 21px;">Variable: <font color="#5133ab">ccr</font></span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">Type: double</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">Total Size: 129600 bytes</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 16200 values</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">Number of Dimensions: 2</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">Dimensions and sizes:<span class="Apple-tab-span" style="white-space:pre">        </span>[lat | 90] x [lon | 180]</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">Coordinates:&nbsp;</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lat: [-89.69999694824219..89.69999694824219]</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lon: [ &nbsp; 0..359.7000122070312]</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">Number Of Attributes: 1</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; _FillValue :<span class="Apple-tab-span" style="white-space:pre">        </span>1.000000020040877e+20</span></div><div><span style="font-size: 21px;">(0)<span class="Apple-tab-span" style="color: rgb(0, 0, 0); white-space: pre;">        </span><font color="#5133ab">ccr: min=-0.386039 max=0.986473</font></span></div><div><span style="font-size: 21px;"><font color="#5133ab"><br></font></span></div><div><div><span style="font-size: 21px;">Variable: Nx</span></div><div><span style="font-size: 21px;">Type: integer</span></div><div><span style="font-size: 21px;">Total Size: 4 bytes</span></div><div><span style="font-size: 21px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1 values</span></div><div><span style="font-size: 21px;">Number of Dimensions: 1</span></div><div><span style="font-size: 21px;">Dimensions and sizes:<span class="Apple-tab-span" style="white-space:pre">        </span>[1]</span></div><div><span style="font-size: 21px;">Coordinates:&nbsp;</span></div><div style="color: rgb(81, 51, 171); font-size: 21px;"><br></div></div><div style="color: rgb(0, 0, 0);"><br></div><div><span style="font-size: 21px;">Variable: <font color="#8c0095">prob</font></span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">Type: double</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">Total Size: 129600 bytes</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 16200 values</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">Number of Dimensions: 2</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">Dimensions and sizes:<span class="Apple-tab-span" style="white-space:pre">        </span>[lat | 90] x [lon | 180]</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">Coordinates:&nbsp;</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lat: [-89.69999694824219..89.69999694824219]</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lon: [ &nbsp; 0..359.7000122070312]</span></div><div style="color: rgb(0, 0, 0);"><span style="font-size: 21px;">&nbsp;</span></div><div><span style="font-size: 21px;">(0)<span class="Apple-tab-span" style="color: rgb(0, 0, 0); white-space: pre;">        </span><font color="#8c0095">min=-0.386039 &nbsp; max=0.986473</font></span></div><div style="color: rgb(0, 0, 0); font-size: 16pt;"><br></div></font>Script:<div><br></div><div><div>...</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>begin</div><div><br></div><div>;************************************************</div><div>; open file and read in variable</div><div>;***********************************************</div><div><br></div><div>&nbsp; in1 &nbsp;= addfile("tos_90x180_cfsr.nc","r")</div><div>&nbsp; in2 &nbsp;= addfile("tos_90x180_MRI.nc","r")</div><div>&nbsp;&nbsp;</div><div>&nbsp; tmp1 = in1-&gt;tos</div><div>&nbsp; tmp2 = in2-&gt;tos</div><div><br></div><div>printVarSummary(tmp1)</div><div>printVarSummary(tmp2)</div><div>print("tmp2: min="+min(tmp2)+" max="+max(tmp2))&nbsp;</div><div>print("tmp1: min="+min(tmp1)+" max="+max(tmp1))&nbsp;</div><div><br></div><div>;************************************************</div><div>; reorder to get time as right most dimension</div><div>;***********************************************</div><div><br></div><div>&nbsp; ts1 = tmp1(lat|:,lon|:,TIME|:)</div><div>&nbsp; ts2 = tmp2(lat|:,lon|:,time|:)</div><div><br></div><div>printVarSummary(ts1)</div><div>printVarSummary(ts2)</div><div><br></div><div>;************************************************</div><div>; calculate cross correlations</div><div>;************************************************</div><div><br></div><div>ts1@_FillValue = 1e20</div><div>ts2@_FillValue = 1e20</div><div><br></div><div>&nbsp;</div><div>&nbsp; ccr &nbsp; &nbsp;= &nbsp; escorc(ts2,ts1)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; copy_VarCoords(ts1,ccr)</div><div><br></div><div>;*************************************************</div><div>; &nbsp;statistical significance of ccr</div><div>;*************************************************</div><div>&nbsp;</div><div>&nbsp; siglvl=0.05</div><div><br></div><div>&nbsp; Nx &nbsp; &nbsp;= num(.not.ismissing(ts1))</div><div>&nbsp;</div><div>&nbsp; prob &nbsp;= rtest(ccr,Nx, 0)&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</div><div>&nbsp; copy_VarCoords(ccr,prob)</div><div><br></div><div>; ========================= PLOT 1 ==============================</div><div>&nbsp; wks &nbsp; = gsn_open_wks ("png", "conOncon.mri" ) &nbsp; ; open workstation&nbsp;</div><div><br></div><div>&nbsp; gsn_define_colormap(wks,"cmp_b2r")</div><div>&nbsp;</div><div>&nbsp; res &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= True &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;; make plot mods</div><div><br></div><div>&nbsp; res@cnFillOn &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = True &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;; turn on color</div><div><br></div><div><br></div><div>&nbsp; res@gsnSpreadColors &nbsp; &nbsp; &nbsp;= True &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;; use full colormap</div><div><br></div><div><br></div><div>&nbsp; res@lbLabelAutoStride &nbsp; &nbsp;= True &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;; automatic lb label stride</div><div><br></div><div>&nbsp; res@cnLinesOn &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= False &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ; turn off contour lines</div><div><br></div><div>&nbsp; res@cnLevelSelectionMode = "ManualLevels" &nbsp;; set manual contour levels</div><div>&nbsp; res@cnMinLevelValF &nbsp; &nbsp; &nbsp; = -1. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ; set min contour level</div><div>&nbsp; res@cnMaxLevelValF &nbsp; &nbsp; &nbsp; = &nbsp;1. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ; set max contour level</div><div>&nbsp; res@cnLevelSpacingF &nbsp; &nbsp; &nbsp;= &nbsp;0.1 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ; set contour spacing</div><div><br></div><div>&nbsp; res@gsnDraw &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= False &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ; Do not draw plot</div><div>&nbsp; res@gsnFrame &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = False &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ; Do not advance frome</div><div><br></div><div><br></div><div>&nbsp; plot = gsn_csm_contour_map_ce(wks,ccr(:,:), res) &nbsp;</div><div><br></div><div>&nbsp; plot = ZeroNegDashLineContour (plot)</div><div><br></div><div>; ========================= PLOT 2 ==============================</div><div>&nbsp; res2 = True &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;; res2 probability plots</div><div><br></div><div>&nbsp; res2@gsnDraw &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = False &nbsp; &nbsp; &nbsp; ; Do not draw plot</div><div>&nbsp; res2@gsnFrame &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= False &nbsp; &nbsp; &nbsp; ; Do not advance frome</div><div><br></div><div>&nbsp; res2@cnLevelSelectionMode = "ManualLevels" ; set manual contour levels</div><div>&nbsp;res2@cnMinLevelValF &nbsp; &nbsp; &nbsp;= 0.0 &nbsp; &nbsp; &nbsp;; set min contour level</div><div>&nbsp;res2@cnMaxLevelValF &nbsp; &nbsp; &nbsp;= 1.05 &nbsp; &nbsp; &nbsp; ; set max contour level</div><div>&nbsp; res2@cnLevelSpacingF &nbsp; &nbsp; = 0.05 &nbsp; &nbsp; &nbsp; &nbsp;; set contour spacing</div><div><br></div><div>&nbsp; res2@cnInfoLabelOn &nbsp; &nbsp; &nbsp; = False &nbsp; &nbsp; &nbsp; ; turn off info label</div><div><br></div><div>&nbsp; res2@cnLinesOn &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = False &nbsp; &nbsp; &nbsp; ; do not draw contour lines</div><div>&nbsp; res2@cnLineLabelsOn &nbsp; &nbsp; &nbsp;= False &nbsp; &nbsp; &nbsp; ; do not draw contour labels</div><div><br></div><div>&nbsp; plot2 &nbsp; = gsn_csm_contour(wks,gsn_add_cyclic_point(prob(:,:)), res2)&nbsp;</div><div>&nbsp; plot2 &nbsp; = ShadeLtContour(plot2, 0.06, 17) &nbsp;; shade all areas less than the</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;; 0.05 contour level</div><div>&nbsp; overlay (plot, plot2)</div><div><br></div><div>&nbsp; draw (plot)</div><div>&nbsp; frame(wks)</div><div><br></div><div>end</div><br><div><font face="Comic Sans MS"><span style="line-height:17px;">---</span></font></div><span class="ecxApple-style-span" style="line-height:17px;background-color:rgb(255, 255, 255);"><font size="3" face="Comic Sans MS" style="font-size:12pt;"><font class="ecxApple-style-span">Vanúcia Schumacher</font></font></span><div><span class="ecxApple-style-span" style="line-height:17px;background-color:rgb(255, 255, 255);"><font face="Comic Sans MS">Mestranda em Meteorologia - UFV<font size="3" style="font-size:12pt;"><font class="ecxApple-style-span"><br style="line-height:17px;">Meteorologista -UFPel</font><br></font></font></span></div><div><span class="ecxApple-style-span" style="line-height:17px;background-color:rgb(255, 255, 255);"><font face="Comic Sans MS"><font size="3" style="font-size:12pt;"><font class="ecxApple-style-span">Departamento de Meteorologia Agrícola - DEA</font></font></font></span></div><div><span class="ecxApple-style-span" style="line-height:17px;background-color:rgb(255, 255, 255);"><font size="3" face="Comic Sans MS" style="font-size:12pt;"><font class="ecxApple-style-span">Cel: (31) 9978 2522&nbsp;</font></font></span></div><div><span class="ecxApple-style-span" style="line-height:17px;background-color:rgb(255, 255, 255);"><font size="3" face="Comic Sans MS" style="font-size:12pt;"><font class="ecxApple-style-span">DEA: (31) 3899 1890</font></font></span></div><br><br><div><hr id="stopSpelling">Date: Mon, 6 Oct 2014 13:55:27 -0600<br>Subject: Re: [ncl-talk] correlation and the significance<br>From: shea@ucar.edu<br>To: vanucia-schumacher@hotmail.com<br>CC: ncl-talk@ucar.edu<br><br><div dir="ltr"><div><div><div><div><div><div><div><br>The question is difficult to answer.<br>You have not included information which ncl-talk constantly request of users.<br></div><div><br>[0] Always include the version of NCL you are using.<br></div><div><br></div><div>Always look at your data and the results of assorted calculations via printVarSummary and print<br></div><div><br></div>[1] printVarSummary(ts1)&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; ; ?? (time) =&gt; [ntim] ??&nbsp; or (time,lat,lon)&nbsp; ==&gt; &nbsp; [ntim,nlat,mlon]&nbsp; ??<br></div><div>&nbsp;&nbsp;&nbsp;&nbsp; printVarSummary(ts2)<br><br></div><div>[2] ccr &nbsp; &nbsp;= &nbsp; escorc(ts2,ts1)<br></div><div>&nbsp;&nbsp;&nbsp;&nbsp; printVarSummary(ccr)<br></div><div><br>[3] Nx &nbsp; &nbsp;= num(.not.ismissing(ts1))<br>&nbsp;&nbsp;&nbsp;&nbsp; print(Nx)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; if ts1 is one-dimensional<br></div><div>&nbsp;&nbsp;&nbsp;&nbsp; printVarSummary(Nx)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; if ts1 &amp; ts2 are three-dimensional<br></div><div><br></div>&nbsp;&nbsp;&nbsp; This give you the **total** number of non-missing points.<br></div>&nbsp;&nbsp;&nbsp;&nbsp; If the ts1 and ts2 arrays are three-dimensional, you would likely see a VERY LARGE number<br></div><div>&nbsp;&nbsp;&nbsp;&nbsp; Very large numbers result in everything being significant.<br></div><div><br></div>[4] If ts1 and ts2 are (time,lat,lon)&nbsp; and you have NCL versions 6.1.1 or<br>&nbsp;&nbsp;&nbsp;&nbsp; earlier, then you should reorder the arrays so time is the<br></div>&nbsp;&nbsp;&nbsp;&nbsp; rightmost dimensions . See escorc Example 5.<br><br></div>&nbsp;&nbsp;&nbsp; If you have NCL v6.2.1 and 3D arrays, you can use&nbsp; ccr &nbsp; &nbsp;= &nbsp; escorc_n(ts2,ts1,0)<br><br>====<br></div>Respond *only* to ncl-talk. Please, no personal salutation.<br><div><div><div><div><br></div></div></div></div></div><div class="ecxgmail_extra"><br><div class="ecxgmail_quote">On Mon, Oct 6, 2014 at 11:09 AM, Vanúcia Schumacher <span dir="ltr">&lt;<a href="mailto:vanucia-schumacher@hotmail.com" target="_blank">vanucia-schumacher@hotmail.com</a>&gt;</span> wrote:<br><blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex;">


<div><div dir="ltr"><font color="#000000" face="Calibri,sans-serif"><span style="font-size:21px;">I need to plot correlation and the significance level of 95%, which, I did r test and applied the example &nbsp;</span></font><h2 style="line-height:29.990400314331055px;font-size:21px;font-family:'Segoe UI Light','Segoe UI Web Light','Segoe UI Web Regular','Segoe UI','Segoe UI Symbol',HelveticaNeue-Light,'Helvetica Neue',Arial,sans-serif;font-weight:normal;padding-top:2px;color:rgb(68,68,68);">conOncon_4.ncl‏&nbsp;<span style="color:rgb(0,0,0);font-family:Calibri,sans-serif;">of NCL, but I think there's something wrong with my script, because for all the data I use, plot area 100% the graph as significant, and I think there's something wrong, someone could help me on this?</span></h2><br><div style="line-height:21.299999237060547px;color:rgb(68,68,68);font-size:15px;background-color:rgb(255,255,255);">....</div><div style="line-height:21.299999237060547px;color:rgb(68,68,68);font-size:15px;background-color:rgb(255,255,255);"><br></div><div style="line-height:21.299999237060547px;color:rgb(68,68,68);font-size:15px;background-color:rgb(255,255,255);"><div>; calculate cross correlations</div><div>;************************************************<span style="line-height:22.719999313354492px;font-size:12pt;">&nbsp;</span></div><div>&nbsp; ccr &nbsp; &nbsp;= &nbsp; escorc(ts2,ts1)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; copy_VarCoords(ts1,ccr)</div><div>&nbsp;</div><div>;*************************************************</div><div>; &nbsp;statistical significance of ccr</div><div>;*************************************************</div><div>&nbsp;</div><div>&nbsp; siglvl=0.05</div><div><br></div><div>&nbsp; Nx &nbsp; &nbsp;= num(.not.ismissing(ts1))</div><div><br></div><div>&nbsp; prob &nbsp;= rtest(ccr,Nx, 0)&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</div><div>&nbsp; copy_VarCoords(ccr,prob)</div></div><div style="line-height:21.299999237060547px;color:rgb(68,68,68);font-size:15px;background-color:rgb(255,255,255);"><br></div><div style="line-height:21.299999237060547px;color:rgb(68,68,68);font-size:15px;background-color:rgb(255,255,255);">....</div><div style="line-height:21.299999237060547px;color:rgb(68,68,68);font-size:15px;background-color:rgb(255,255,255);"><br></div><div style="line-height:21.299999237060547px;color:rgb(68,68,68);font-size:15px;background-color:rgb(255,255,255);"><div>&nbsp;res2@cnLevelSelectionMode = "ManualLevels"&nbsp;</div><div>&nbsp;res2@cnMinLevelValF &nbsp; &nbsp; &nbsp;= 0.00 &nbsp; &nbsp; &nbsp; &nbsp;; set min contour level</div><div>&nbsp;res2@cnMaxLevelValF &nbsp; &nbsp; &nbsp;= 1.05 &nbsp; &nbsp; &nbsp; &nbsp;; set max contour level</div><div>&nbsp; res2@cnLevelSpacingF &nbsp; &nbsp; = 0.05 &nbsp; &nbsp; &nbsp; &nbsp;; set contour spacing</div><div><br></div><div>plot2 &nbsp; = gsn_csm_contour(wks,gsn_add_cyclic_point(prob(:,:)), res2)&nbsp;</div><div><br></div><div>&nbsp; plot2 &nbsp; = ShadeLtContour(plot2,<font style="line-height:normal;" color="#ac193d">&nbsp;0.06, 17</font>) &nbsp;; shade all areas less than the &nbsp;0.05 contour level</div><div>&nbsp; overlay (plot, plot2)</div><div><br></div></div><div><font face="Comic Sans MS"><span style="line-height:17px;">---</span></font></div><span style="line-height:17px;background-color:rgb(255,255,255);"><font style="font-size:12pt;" face="Comic Sans MS" size="3">Vanúcia Schumacher</font></span><div><span style="line-height:17px;background-color:rgb(255,255,255);"><font face="Comic Sans MS">Mestranda em Meteorologia - UFV<font style="font-size:12pt;" size="3"><br style="line-height:17px;">Meteorologista -UFPel<br></font></font></span></div><div><span style="line-height:17px;background-color:rgb(255,255,255);"><font face="Comic Sans MS"><font style="font-size:12pt;" size="3">Departamento de Meteorologia Agrícola - DEA</font></font></span></div><div><span style="line-height:17px;background-color:rgb(255,255,255);"><font style="font-size:12pt;" face="Comic Sans MS" size="3">Cel: (31) 9978 2522&nbsp;</font></span></div><div><span style="line-height:17px;background-color:rgb(255,255,255);"><font style="font-size:12pt;" face="Comic Sans MS" size="3">DEA: (31) 3899 1890</font></span></div>                                               </div></div>
<br>_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div></div></div>                                               </div></body>
</html>