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

Use built-in interp for interpolation with resample #2640

Merged
merged 4 commits into from
Jan 3, 2019

Conversation

spencerkclark
Copy link
Member

@spencerkclark spencerkclark commented Jan 1, 2019

My main goal with this was to help out with #2593 (xarray's built-in interpolation method is compatible with cftime coordinates, so this refactor would simplify things there). While doing this I realized that I could also add the simple bug-fix for #2197.

cc: @jwenfai

@pep8speaks
Copy link

pep8speaks commented Jan 1, 2019

Hello @spencerkclark! Thanks for updating the PR.

Cheers ! There are no PEP8 issues in this Pull Request. 🍻

Comment last updated on January 02, 2019 at 22:02 Hours UTC

@shoyer
Copy link
Member

shoyer commented Jan 2, 2019

Nice!

This is annoying -- we use different checkers in pep8speaks vs Travis. Let me try to fix that...

@spencerkclark
Copy link
Member Author

This is annoying -- we use different checkers in pep8speaks vs Travis. Let me try to fix that...

Ah, no worries -- I probably should have noticed my linter telling me about those unused imports :)

@shoyer shoyer merged commit 49731d4 into pydata:master Jan 3, 2019
@spencerkclark spencerkclark mentioned this pull request Jan 17, 2019
3 tasks
dcherian pushed a commit to yohai/xarray that referenced this pull request Jan 24, 2019
* master:
  Remove broken Travis-CI builds (pydata#2661)
  Type checking with mypy (pydata#2655)
  Added Coarsen (pydata#2612)
  Improve test for GH 2649 (pydata#2654)
  revise top-level package description (pydata#2430)
  Convert ref_date to UTC in encode_cf_datetime (pydata#2651)
  Change an `==` to an `is`. Fix tests so that this won't happen again. (pydata#2648)
  ENH: switch Dataset and DataArray to use explicit indexes (pydata#2639)
  Use pycodestyle for lint checks. (pydata#2642)
  Switch whats-new for 0.11.2 -> 0.11.3
  DOC: document v0.11.2 release
  Use built-in interp for interpolation with resample (pydata#2640)
  BUG: pytest-runner no required for setup.py (pydata#2643)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DataArrayResample.interpolate coordinates out of bound.
3 participants