You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement interp for interpolating between chunks of data (dask) (#4155)
* Implement interp for interpolating between chunks of data (dask)
* do not forget extra points at the end
* add tests
* add whats-new comment
* fix isort / black
* typo
* update pull number
* fix github pep8 warnigns
* fix isort
* clearer arguments in _dask_aware_interpnd
* typo
* fix for datetimelike index
* chunked interpolation does not work for high order interpolation (quadratic or cubic)
* fix whats new
* remove a useless import
* use Variable instead of InexVariable
* avoid some list to tuple conversion
* black fix
* more comments to explain _compute_chunks
* For orthogonal linear- and nearest-neighbor interpolation, the scalar interpolation can also be done sequentially
* better detection of Advanced interpolation
* implement support of unsorted interpolation destination
* rework the tests
* fix for datetime index (bug introduced with unsorted destination)
* Variable is cheaber that DataArray
* add warning if unsorted
* simplify _compute_chunks
* add ghosts point in order to make quadratic and cubic method work in a chunked direction
* black
* forgot to remove an exception in test_upsample_interpolate_dask
* fix filtering out-of-order warning
* use extrapolate to check external points
* Revert "add ghosts point in order to make quadratic and cubic method work in a chunked direction"
* Complete rewrite using blockwise
* update whats-new.rst
* reduce the diff
* more decomposition of orthogonal interpolation
* simplify _dask_aware_interpnd a little
* fix dask interp when chunks are not aligned
* continue simplifying _dask_aware_interpnd
* update whats-new.rst
* clean tests
Co-authored-by: Alexandre Poux <[email protected]>
Copy file name to clipboardExpand all lines: doc/whats-new.rst
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -176,9 +176,10 @@ New Features
176
176
Enhancements
177
177
~~~~~~~~~~~~
178
178
- Performance improvement of :py:meth:`DataArray.interp` and :py:func:`Dataset.interp`
179
-
For orthogonal linear- and nearest-neighbor interpolation, we do 1d-interpolation sequentially
180
-
rather than interpolating in multidimensional space. (:issue:`2223`)
179
+
We performs independant interpolation sequentially rather than interpolating in
180
+
one large multidimensional space. (:issue:`2223`)
181
181
By `Keisuke Fujii <https://github.com/fujiisoup>`_.
182
+
- :py:meth:`DataArray.interp` now support interpolations over chunked dimensions (:pull:`4155`). By `Alexandre Poux <https://github.com/pums974>`_.
182
183
- Major performance improvement for :py:meth:`Dataset.from_dataframe` when the
183
184
dataframe has a MultiIndex (:pull:`4184`).
184
185
By `Stephan Hoyer <https://github.com/shoyer>`_.
0 commit comments