<div><div>Dear grads community,</div><div><br></div><div>I have two datasets with dimensions of (time, latitudes) &nbsp;or (t, y), and want to calculate the correlation between them, which is effectively a spatial-temporal correlation coefficient.</div><div><br></div><div>but scorr() and tcorr() only calculate the spatial correlation and temporal correlation, respectively.</div><div><br></div><div>what I want is a single value.</div><div><br></div><div>what do I do?</div><div><br></div><div>Any pointers would be much appreciated!</div></div><div><br></div><div>Best,</div><div>Qi</div>