CCI-Tools / cate

ESA CCI Toolbox (Cate)
MIT License
50 stars 15 forks source link

Pearson correlation pixel by pixel correlation #56

Closed JanisGailis closed 8 years ago

JanisGailis commented 8 years ago

It should be possible to calculate Pearson correlation on pixel by pixel basis on time/lat/lon datasets

JanisGailis commented 8 years ago

Done.

cpaulik commented 7 years ago

You might be interested in an recursive implementation of the pearson correlation coefficient. E.g. https://github.com/TUW-GEO/pytesmo/blob/master/pytesmo/metrics.py#L410 to speed things up. You could do it time slice by time slice instead of reading each timeseries using isel