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

Feature request: interpolation options in extract #652

Open
alex-s-gardner opened this issue Apr 29, 2024 · 4 comments
Open

Feature request: interpolation options in extract #652

alex-s-gardner opened this issue Apr 29, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@alex-s-gardner
Copy link
Contributor

When using extract to retrieve point values from a Raster it would be useful if the user could specify an interpolation option.

@rafaqz
Copy link
Owner

rafaqz commented Apr 29, 2024

Where would the interp algs come from

@alex-s-gardner
Copy link
Contributor Author

Where would the interp algs come from

I think the best option is Interpolations.jl

@rafaqz rafaqz added the enhancement New feature or request label May 19, 2024
@rafaqz
Copy link
Owner

rafaqz commented Sep 30, 2024

I just had an idea to do this lower down in DimensionalData.jl. Like have an Interp selector that returns an Interpolations.jl interpolator thing.

You could do thing like rast[X=Interp(x, Spline()), Y=Interp(x, Linear()), Ti=Near(DateTime(2020)))] and it would just work.

Then extract could just call this.

@alex-s-gardner
Copy link
Contributor Author

That would be ideal

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

2 participants