-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
interp over time coordinate #2284
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
Comments
Thanks for bringing this up. @fujiisoup actually implemented interpolation for datetime64 as part of writing
However, you do currently need to wrap your indexer explicitly in a (I'll try to release 0.10.8 soon, maybe within the next week) |
Thanks, I will gladly exercise patience until then. |
Before I start, I'm very excited about the interp addition in 0.10.7. Great addition and thanks to @fujiisoup and @shoyer.
I see there was a bit of a discussion in the interp pull request, #2104, about interpolating over times and that it was suggested to wait for use cases. I can think of an immediate use case in my line of work.
I frequently use regular gridded geophysical data (time, lat, lon), not unlike the sample tutorial air_temperature data, and the data must be interpolated to line up with corresponding satellite measurements that are irregularly spaced in lat, lon and time.
Being able to interpolate in one quick step would be fantastic. For example:
Problem description
Currently issues
TypeError: cannot perform reduce with flexible type
.Desired Output
The text was updated successfully, but these errors were encountered: