Hi Sandeep,If I understand you correctly, is Fig 10, and Fig 13 of the attached paper is what you would like to do? i.e. a correlation over a sliding 20-year window? If yes, then you could do the same in ferret. Although it is a multi-step approach but is very straight-forward, where you simply save the correlations in a file, and re-open to plot it.However, if I understood you wrongly, then am sorry.Best,SulagnaOn Tue, Aug 28, 2018 at 9:47 AM, Satyesh Ghetiya <satyeshghetiya@xxxxxxxxx> wrote:Hi Sandeep,Do you have, for each year, correlation r in XY dimension ? I mean r for each grid point of XY for each year ? Also can you elaborate the dimensions of two data sets ?On Tue, Aug 28, 2018 at 11:48 AM, Sandeep Mohapatra <sandeepmohapatra21@xxxxxxxxx> wrote:Hi,can anyone tell me how to do 21 yr running correlation in ferret between two data sets.Regards,G Satyesh,India.--On Tue, Aug 28, 2018 at 6:16 PM, Ryo Furue <furue@xxxxxxxxxx> wrote:On Tue, Aug 28, 2018 at 4:31 PM saurabh rathore <rohitsrb2020@xxxxxxxxx> wrote:Dear Ryo,Are you saying that the plot of such running correlation and trends will be like a time series ?I'm sorry, Saurabh, Sandeep, and other Ferret users. I've begun to think that my idea was wrong. I thought @SBX was the solution, but it doesn't keep the same mean value over the window, in formulae likeu' = u - mean(u).So, indeed the correct solution would be complicated. I'd like to know if there is an elegant solution.RyoG Satyesh