Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resampleDH: interpolation does not wrap-around the globe (-180 to 180) #1

Open
apasto opened this issue Aug 31, 2018 · 0 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@apasto
Copy link
Owner

apasto commented Aug 31, 2018

The first committed version of resampleDH.m includes a call to interp2 which is performed using the unmodified input array. This implies that the input data is not wrapped around across the -180 and +180 meridian.
Possible fix: pad input data with a copies of the input array.
Problems with this: the wrapped padding data should start/end at -180 and +180 (including room for step size), at the moment there is no check for this.

@apasto apasto self-assigned this Aug 31, 2018
@apasto apasto added the enhancement New feature or request label Aug 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant