-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add sgrid file. Make effort to recognise valid sgrid datasets. * Added method to assign coordinate axes to Sgrid data. Using 'X', 'Y', 'Z'. * Basic identification of sgrid coordinates. * Added basic logic to extract SGRID coords and assign padding. * add short note on x_dimensions syntax * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * clarify SGRID grid dummy variable usage; tweaks * Basic handling of SGRID data and generation of grid. * Handle optional spaces after colon in grid data. * Add a check for conventions attribute (Review of PR 559) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Added example SGRID datasets to test folder. * Removing print statements from grid.py * Updates tests for SGRID (NB SOME FAIL - IN DEVELOPMENT) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Add in SGRID datasets. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Remove duplicate SGRID dataset. * Remove duplicate SGRID dataset. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * refactored to have a metadata parsing module. WIP. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Added basic initial tests for metadata parsing. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Undo bug introduced in test_grid.py * Update metadata parsing to return dict of grid kwargs. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Added cf_xarray approach for sgrid grid (pending upstream changes). * Grid metadata parsing with checks for conflicts. Passing existing Grid tests. * black, flake8, mypy (except grid.py). * Added autoparsing tests to grid. * add tests for sgrid and metadata parsing. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Updated grids documentation. * Updated grids documentation. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Added summary to what's new under features. * Update xgcm/grid.py Make grid dataset error more specific. Co-authored-by: Julius Busecke <julius@ldeo.columbia.edu> * Update test to match revised error message in Grid class. * Fix docstring formatting in grid.py * Fix errors and warnings in docs. * Fix typo in grid error message and associated test. Fix docs typo. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Format docs with blackdoc. * Add correct sgrid dataset to docs. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Add test for 1D and 4D grids and update docs to run. * Update docs to run. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Updated documentation to pass builds. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * linting of test_metadata_parers.py * add dummy txt file * Update ufunc tests with autoparse_metadata=False when user supplies coords. * remove dummy text file added previously for testing CI. * Update other tests with autoparse_metadata=False where required. * Update test_padding with autoparse_metadata=False where required. --------- Co-authored-by: Ben Orchard <thefirstmuffinman@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Julius Busecke <julius@ldeo.columbia.edu>
- Loading branch information
1 parent
444e1c8
commit 8fcd0b0
Showing
18 changed files
with
1,221 additions
and
125 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ Grid | |
:members: | ||
|
||
Grid ufuncs | ||
==== | ||
=========== | ||
|
||
.. autosummary:: | ||
:toctree: generated/ | ||
|
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
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.