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

Higher order spline interpolation of the spherical harmonic coefficients. #10

Open
pacesm opened this issue Jun 13, 2018 · 1 comment
Open
Labels

Comments

@pacesm
Copy link
Contributor

pacesm commented Jun 13, 2018

Some of the magnetic models (e.g.,CHAOS-6-Core) require higher order spline interpolation of the spherical harmonic coefficients.

The magnetic model uses always linear interpolation of the coefficients which leads to small deviation from the right model values.

@pacesm
Copy link
Contributor Author

pacesm commented Nov 20, 2018

When compared with a reference implementation of the CHAOS-6-Core x7 model for randomly selected locations it is apparent that the linear interpolation causes deviation < ±0.04nT:

image

When using the 6th order piecewise polynomial interpolation (as defined in the SHC file) the deviation drops practically to zero:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant