-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add option to pass coordinates to the grid method (#326)
Allow `BaseGridder.grid` to take the coordinates of the preexisting grid either as 2d arrays (meshgrid) or as 1d arrays. Raise a `FutureWarning` if the `spacing`, `shape` or `region` arguments are passed, since they will be removed in v2.0.0. Write a new `meshgrid_from_1d` function that creates a meshgrid out of 1d horizontal arrays, checks if they have a single dimension, and supports for passing extra coordinates as 2d-arrays.
- Loading branch information
1 parent
b53ae75
commit eb636e3
Showing
4 changed files
with
234 additions
and
29 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
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