-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix kwargs used for extrapolation in docs (#6639)
* Fix kwargs used for extrapolation in docs The current version of xarray tries to call scipy's interp1d whenever possible, and kwargs used in the user guide should reflect this. Fixes #6617 * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Add extended summary for interp methods The extended summaries for Dataset.interp and DataArray.interp explain how the scipy interpolator is selected * Update interp_like extended summary Explains how the scipy interpolator is chosen, similarly as done in Dataset.interp and DataArray.interp * Add the "polynomial" option to interp(_like) When scipy.interpolate.interp1d is called, it is possible to interpolate with the polynomial method if the `order` kwarg is provided. Co-authored-by: Louis Stenger <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
e4f5b73
commit 3945342
Showing
3 changed files
with
96 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters