nctoolkit.cor_space
nctoolkit.cor_space#
- nctoolkit.cor_space(x=None, y=None)#
Calculate the spatial correlation coefficient between two datasets This will calculate the spatial correlation coefficient, for each time step, between two datasets. The datasets must either have the same variables or only have one variable.
- Returns
cor_space – A dataset containing the correlation coefficient for each time step.
- Return type
nctoolkit Dataset
- Parameters
x (dataset) – First dataset to use
y (dataset) – Second dataset to use