where dx is column spacing and dy is row spacing.
I think geostats and gpsgridder are the only methods affected; however, since the geostats results have seemed fine I'm not sure if I'm missing something. I'm testing now to see if it changes the weird geostats results but ran into an issue with pygmt not working.
I think I may have introduced a bug in the function
strain_on_regular_grid
. The current call to numpy.gradient is as follows:but I think based on Python indexing (rows, columns, ...) it should really be this:
where dx is column spacing and dy is row spacing. I think geostats and gpsgridder are the only methods affected; however, since the geostats results have seemed fine I'm not sure if I'm missing something. I'm testing now to see if it changes the weird geostats results but ran into an issue with pygmt not working.