<div dir="ltr"><div dir="ltr"><div dir="ltr">Hi Soma<div><br></div><div>I can not do this, because I just want to see the influence of the PDO (North Pacific) in the rest of the globe or I didnt understand what you mean<br></div><div><br></div><div>Thanks</div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 28, 2019 at 11:23 AM Soma Roy <<a href="mailto:somaroy892@gmail.com">somaroy892@gmail.com</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="auto">Use printVarSummary and print for lat and lon for both the variables and cut out only the common portion from the two..<div dir="auto"><br></div><div dir="auto">Hope this idea help you..</div><div dir="auto"><br></div><div dir="auto">Cheers,</div><div dir="auto">Soma</div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Mar 28, 2019, 19:48 Melanie O' hanoly <<a href="mailto:mel.hanoly@gmail.com" target="_blank">mel.hanoly@gmail.com</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"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi NCL Users<div><br></div><div>I'm trying to calculate the relationship between PDO and some variables of the globe, but I calculated the first EOF of north Pacific sst and then I'm trying regress analysis between salinity of global word but I got the error, because they dont have the same size, can anyone help me with this? </div><div>The routine is attached</div><div><br></div><div>Many Thanks in Advance</div><div><br></div><div><div>Variable: x</div><div>Type: float</div><div>Total Size: 3225600 bytes</div><div> 806400 values</div><div>Number of Dimensions: 3</div><div>Dimensions and sizes:<span style="white-space:pre-wrap"> </span>[time | 576] x [latitude | 28] x [longitude | 50]</div><div>Coordinates: </div><div> time: [ 360.. 935]</div><div> latitude: [20.70000076293945..69.30000305175781]</div><div> longitude: [113.4000015258789..289.7999877929688]</div><div>Number Of Attributes: 7</div><div> depth :<span style="white-space:pre-wrap"> </span>17.5</div><div> standard_name :<span style="white-space:pre-wrap"> </span>sea_water_potential_temperature</div><div> long_name :<span style="white-space:pre-wrap"> </span>ocean potential temperature</div><div> units :<span style="white-space:pre-wrap"> </span>C</div><div> _FillValue :<span style="white-space:pre-wrap"> </span>9.96921e+36</div><div> missing_value :<span style="white-space:pre-wrap"> </span>9.96921e+36</div><div> FillValue :<span style="white-space:pre-wrap"> </span>9.96921e+36</div><div>(0)<span style="white-space:pre-wrap"> </span>ocean potential temperature (C) : min=-1.7993 max=29.3727</div><div><br></div><div>Variable: x2</div><div>Type: float</div><div>Total Size: 23040000 bytes</div><div> 5760000 values</div><div>Number of Dimensions: 3</div><div>Dimensions and sizes:<span style="white-space:pre-wrap"> </span>[time | 576] x [latitude | 100] x [longitude | 100]</div><div>Coordinates: </div><div> time: [ 360.. 935]</div><div> latitude: [-89.09999847412109..89.09999847412109]</div><div> longitude: [1.799999952316284..358.2000122070312]</div><div>Number Of Attributes: 7</div><div> depth :<span style="white-space:pre-wrap"> </span>17.5</div><div> standard_name :<span style="white-space:pre-wrap"> </span>sea_water_salinity</div><div> long_name :<span style="white-space:pre-wrap"> </span>ocean salinity</div><div> units :<span style="white-space:pre-wrap"> </span>1e-3</div><div> _FillValue :<span style="white-space:pre-wrap"> </span>9.96921e+36</div><div> missing_value :<span style="white-space:pre-wrap"> </span>9.96921e+36</div><div> FillValue :<span style="white-space:pre-wrap"> </span>9.96921e+36</div><div>(0)<span style="white-space:pre-wrap"> </span>ocean salinity (1e-3) : min=28.3825 max=37.6995</div></div><div><br></div><div><div>Variable: eof_ts</div><div>Type: double</div><div>Total Size: 4608 bytes</div><div> 576 values</div><div>Number of Dimensions: 2</div><div>Dimensions and sizes:<span style="white-space:pre-wrap"> </span>[evn | 1] x [time | 576]</div><div>Coordinates: </div><div> evn: [1..1]</div><div> time: [ 360.. 935]</div><div>Number Of Attributes: 4</div><div> ts_mean :<span style="white-space:pre-wrap"> </span>2.095727725316148e-07</div><div> matrix :<span style="white-space:pre-wrap"> </span>covariance</div><div> _FillValue :<span style="white-space:pre-wrap"> </span>9.969209968386869e+36</div><div> long_name :<span style="white-space:pre-wrap"> </span>EOF: Amplitude: ocean potential temperature</div><div>fatal:regCoef_n: the dimension sizes indicated by dims_nx and dims_ny must match</div><div><br></div></div><div><div><br></div></div></div></div></div></div></div></div></div></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" rel="noreferrer" 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 noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
</blockquote></div>
</blockquote></div>