Closed mcgarth closed 3 years ago
I reviewed this PR and performed different unit tests. Now I can confirm that this PR is working as expected and ready to merge.
Here are some feedback:
So I approved this PR and ready to merge into develop/ 👍
To be clear, nearest
is the default option for spatial interpolation in the APS filter, but cubic
and linear
methods are still selectable via the slpnanfill_method
config parameter option.
I have removed slpnanfill_method
from the top level input_parameters.conf
because I believe nearest
to be the best choice. But those users who are in the know, can add that parameter into their config file and choose linear
or cubic
options instead. ;-)
This PR fixes the spatio-temporal filter functionality (that previously produced spurious results) in
pyrare.core.aps
and puts the functionality under unit test.scipy.ndimage
equivalents (these functions only support regularly sampled data in time and space, whereas the functions implemented inpyrate.core.aps
support irregular temporal sampling and different x and y spatial resolutions)