<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" color="#000000"><span style="font-size: 21px;">I calculated the correlation between the variable sst to 2 different models, with same size lat, lon and time for both, and now I want to plot the test of significance, using the rtest. But my plot is very strange, does not plot anything (attached), someone can help?</span><br id="FontBreak"></font><br>I used this function:<div><br></div><div>... </div><div><br></div><div><div>ccr = escorc(ts2,ts1)</div><div><br></div><div> copy_VarAtts(ts1, ccr) </div><div> copy_VarCoords_1(ts1,ccr)</div><div><br></div><div>....</div><div><br></div><div><div>; statistical significance of ccr</div><div>;*************************************************</div><div><br></div><div> Nx = num(.not.ismissing(ts1))</div><div><br></div><div> prob = rtest(ccr,Nx, 0) <span class="Apple-tab-span" style="white-space:pre">        </span></div><div><br></div><div> copy_VarAtts(ccr, prob) </div><div> copy_VarCoords_1(ccr,prob)</div><div><br></div><div>prob!0="lat"</div><div>prob!1="lon"</div><div>prob&lat=ccr&lat</div><div>prob&lon=ccr&lon</div></div><div><br></div><div><br></div><div>Variable: tmp1</div><div>Type: double</div><div>Total Size: 46656000 bytes</div><div> 5832000 values</div><div>Number of Dimensions: 3</div><div>Dimensions and sizes:<span class="Apple-tab-span" style="white-space:pre">        </span>[TIME | 360] x [lat | 90] x [lon | 180]</div><div>Coordinates: </div><div> TIME: [527040..16260480]</div><div> lat: [-89.69999694824219..89.69999694824219]</div><div> lon: [ 0..359.7000122070312]</div><div>Number Of Attributes: 5</div><div> remap :<span class="Apple-tab-span" style="white-space:pre">        </span>remapped via ESMF_regrid_with_weights: Bilinear remapping</div><div> missing_value :<span class="Apple-tab-span" style="white-space:pre">        </span>-9.999999999999999e+33</div><div> _FillValue :<span class="Apple-tab-span" style="white-space:pre">        </span>-9.999999999999999e+33</div><div> long_name :<span class="Apple-tab-span" style="white-space:pre">        </span>SST[GX=X2DEG,GY=Y2DEG]</div><div> history :<span class="Apple-tab-span" style="white-space:pre">        </span>From sst</div><div><br></div><div>Variable: tmp2</div><div>Type: float</div><div>Total Size: 23328000 bytes</div><div> 5832000 values</div><div>Number of Dimensions: 3</div><div>Dimensions and sizes:<span class="Apple-tab-span" style="white-space:pre">        </span>[time | 360] x [lat | 90] x [lon | 180]</div><div>Coordinates: </div><div> time: [15.5..10934.5]</div><div> lat: [-87.86..87.86]</div><div> lon: [ 0..358]</div><div>Number Of Attributes: 13</div><div> remap :<span class="Apple-tab-span" style="white-space:pre">        </span>remapped via ESMF_regrid_with_weights: Bilinear remapping</div><div> associated_files :<span class="Apple-tab-span" style="white-space:pre">        </span>baseURL: http://cmip-pcmdi.llnl.gov/CMIP5/dataLocation gridspecFile: gridspec_ocean_fx_IPSL-CM5A-LR_decadal1980_r0i0p0.nc areacello: areacello_fx_IPSL-CM5A-LR_decadal1980_r0i0p0.nc</div><div> _FillValue :<span class="Apple-tab-span" style="white-space:pre">        </span>1e+20</div><div> missing_value :<span class="Apple-tab-span" style="white-space:pre">        </span>1e+20</div><div> cell_measures :<span class="Apple-tab-span" style="white-space:pre">        </span>area: areacello</div><div> cell_methods :<span class="Apple-tab-span" style="white-space:pre">        </span>time: mean (interval: 30 minutes)</div><div> history :<span class="Apple-tab-span" style="white-space:pre">        </span>2011-11-09T14:11:22Z altered by CMOR: Converted units from 'degC' to 'K'. 2011-11-09T14:11:22Z altered by CMOR: replaced missing value flag (9.96921e+36) with standard missing value (1e+20).</div><div> original_units :<span class="Apple-tab-span" style="white-space:pre">        </span>degC</div><div> original_name :<span class="Apple-tab-span" style="white-space:pre">        </span>sosstsst</div><div> units :<span class="Apple-tab-span" style="white-space:pre">        </span>K</div><div> comment :<span class="Apple-tab-span" style="white-space:pre">        </span>"this may differ from ""surface temperature"" in regions of sea ice."</div><div> long_name :<span class="Apple-tab-span" style="white-space:pre">        </span>Sea Surface Temperature</div><div> standard_name :<span class="Apple-tab-span" style="white-space:pre">        </span>sea_surface_temperature</div><div><br></div><div>(0)<span class="Apple-tab-span" style="white-space:pre">        </span><font color="#8c0095">tmp2: min=3.88894 max=305.118</font></div><div><font color="#8c0095">(0)<span class="Apple-tab-span" style="white-space:pre">        </span>tmp1: min=231.963 max=304.787</font></div><div><br></div><div>Variable: ts1</div><div>Type: double</div><div>Total Size: 46656000 bytes</div><div> 5832000 values</div><div>Number of Dimensions: 3</div><div>Dimensions and sizes:<span class="Apple-tab-span" style="white-space:pre">        </span>[lat | 90] x [lon | 180] x [TIME | 360]</div><div>Coordinates: </div><div> lat: [-89.69999694824219..89.69999694824219]</div><div> lon: [ 0..359.7000122070312]</div><div> TIME: [527040..16260480]</div><div>Number Of Attributes: 5</div><div> history :<span class="Apple-tab-span" style="white-space:pre">        </span>From sst</div><div> long_name :<span class="Apple-tab-span" style="white-space:pre">        </span>SST[GX=X2DEG,GY=Y2DEG]</div><div> _FillValue :<span class="Apple-tab-span" style="white-space:pre">        </span>-9.999999999999999e+33</div><div> missing_value :<span class="Apple-tab-span" style="white-space:pre">        </span>-9.999999999999999e+33</div><div> remap :<span class="Apple-tab-span" style="white-space:pre">        </span>remapped via ESMF_regrid_with_weights: Bilinear remapping</div><div><br></div><div>Variable: ts2</div><div>Type: float</div><div>Total Size: 23328000 bytes</div><div> 5832000 values</div><div>Number of Dimensions: 3</div><div>Dimensions and sizes:<span class="Apple-tab-span" style="white-space:pre">        </span>[lat | 90] x [lon | 180] x [time | 360]</div><div>Coordinates: </div><div> lat: [-87.86..87.86]</div><div> lon: [ 0..358]</div><div> time: [15.5..10934.5]</div><div>Number Of Attributes: 13</div><div> standard_name :<span class="Apple-tab-span" style="white-space:pre">        </span>sea_surface_temperature</div><div> long_name :<span class="Apple-tab-span" style="white-space:pre">        </span>Sea Surface Temperature</div><div> comment :<span class="Apple-tab-span" style="white-space:pre">        </span>"this may differ from ""surface temperature"" in regions of sea ice."</div><div> units :<span class="Apple-tab-span" style="white-space:pre">        </span>K</div><div> original_name :<span class="Apple-tab-span" style="white-space:pre">        </span>sosstsst</div><div> original_units :<span class="Apple-tab-span" style="white-space:pre">        </span>degC</div><div> history :<span class="Apple-tab-span" style="white-space:pre">        </span>2011-11-09T14:11:22Z altered by CMOR: Converted units from 'degC' to 'K'. 2011-11-09T14:11:22Z altered by CMOR: replaced missing value flag (9.96921e+36) with standard missing value (1e+20).</div><div> cell_methods :<span class="Apple-tab-span" style="white-space:pre">        </span>time: mean (interval: 30 minutes)</div><div> cell_measures :<span class="Apple-tab-span" style="white-space:pre">        </span>area: areacello</div><div> missing_value :<span class="Apple-tab-span" style="white-space:pre">        </span>1e+20</div><div> _FillValue :<span class="Apple-tab-span" style="white-space:pre">        </span>1e+20</div><div> associated_files :<span class="Apple-tab-span" style="white-space:pre">        </span>baseURL: http://cmip-pcmdi.llnl.gov/CMIP5/dataLocation gridspecFile: gridspec_ocean_fx_IPSL-CM5A-LR_decadal1980_r0i0p0.nc areacello: areacello_fx_IPSL-CM5A-LR_decadal1980_r0i0p0.nc</div><div> remap :<span class="Apple-tab-span" style="white-space:pre">        </span>remapped via ESMF_regrid_with_weights: Bilinear remapping</div><div><br></div><div>Variable: ccr</div><div>Type: double</div><div>Total Size: 129600 bytes</div><div> 16200 values</div><div>Number of Dimensions: 2</div><div>Dimensions and sizes:<span class="Apple-tab-span" style="white-space:pre">        </span>[lat | 90] x [lon | 180]</div><div>Coordinates: </div><div> lat: [-89.69999694824219..89.69999694824219]</div><div> lon: [ 0..359.7000122070312]</div><div>Number Of Attributes: 5</div><div> remap :<span class="Apple-tab-span" style="white-space:pre">        </span>remapped via ESMF_regrid_with_weights: Bilinear remapping</div><div> missing_value :<span class="Apple-tab-span" style="white-space:pre">        </span>-9.999999999999999e+33</div><div> _FillValue :<span class="Apple-tab-span" style="white-space:pre">        </span>-9.999999999999999e+33</div><div> long_name :<span class="Apple-tab-span" style="white-space:pre">        </span>SST[GX=X2DEG,GY=Y2DEG]</div><div> history :<span class="Apple-tab-span" style="white-space:pre">        </span>From sst</div><div><font color="#8c0095">(0)<span class="Apple-tab-span" style="white-space:pre">        </span>ccr: min=-0.35971 max=1e+20</font></div><div><br></div><div>Variable: Nx</div><div>Type: integer</div><div>Total Size: 4 bytes</div><div> 1 values</div><div>Number of Dimensions: 1</div><div>Dimensions and sizes:<span class="Apple-tab-span" style="white-space:pre">        </span>[1]</div><div>Coordinates: </div><div><br></div><div>Variable: prob</div><div>Type: double</div><div>Total Size: 129600 bytes</div><div> 16200 values</div><div>Number of Dimensions: 2</div><div>Dimensions and sizes:<span class="Apple-tab-span" style="white-space:pre">        </span>[lat | 90] x [lon | 180]</div><div>Coordinates: </div><div> lat: [-89.69999694824219..89.69999694824219]</div><div> lon: [ 0..359.7000122070312]</div><div>Number Of Attributes: 5</div><div> remap :<span class="Apple-tab-span" style="white-space:pre">        </span>remapped via ESMF_regrid_with_weights: Bilinear remapping</div><div> missing_value :<span class="Apple-tab-span" style="white-space:pre">        </span>-9.999999999999999e+33</div><div> _FillValue :<span class="Apple-tab-span" style="white-space:pre">        </span>-9.999999999999999e+33</div><div> long_name :<span class="Apple-tab-span" style="white-space:pre">        </span>SST[GX=X2DEG,GY=Y2DEG]</div><div> history :<span class="Apple-tab-span" style="white-space:pre">        </span>From sst</div><div><font color="#8c0095">(0)<span class="Apple-tab-span" style="white-space:pre">        </span>prob: min=0 max=0.862573</font></div><div><br></div><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 </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></div>                                            </div></body>
</html>