Spatial correlation mapping

Hi everyone,
I would like to ask if there are any possible ways to calculate the spatial correlation in GMT6?
Thanks,

That’s not much information here as to what the objectives are, but I have a GMT -4- code that computes the cross (or auto) correlation on moving caps for two GMT/Netcdf files,

Check the Makefile for how to compile - no documentation, but should work to first order. Attached are two fields and theircorrt.pdf (153.3 KB) 1000 km correlation.

Hello,
Sorry for not posting a clear description. You’re right, what I want is to compute the autocorrelation between two variables. I think I also learn something from your idea. But I would like to ask which program you use for computing autocorrelation?. It not look like GMT.
Thank you.