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.

  • x (dataset) – First dataset to use

  • y (dataset) – Second dataset to use


cor_time – A dataset containing the temporal correlation coefficient for each grid cell

Return type:

nctoolkit Dataset