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