-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update
create_grid
args to improve usability (#507)
* Refactors create_bounds from BoundsAccessor * Adds create_axis function * Deprecates create_grid's **kwargs and implements new x, y, z arguments * Fixes how create_grid creates the Dataset * Updates create_*_grid methods to use new create_grid * Fixes create_grid method signature * Removes old documentation * Adds proper deprecation notice to docstring * Updates vertical regrid example to use new create_grid * Apply suggestions from code review Co-authored-by: Tom Vo <tomvothecoder@gmail.com> * Fixes converting standard name to cf axis * Fixes formatting * Adds additional suggested fixes --------- Co-authored-by: Tom Vo <tomvothecoder@gmail.com>
- Loading branch information
1 parent
b46c331
commit c2fd8fd
Showing
6 changed files
with
574 additions
and
209 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.