-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix depth slicing with non-ocean cells
Previously, when there were cells with `maxLevelCell = 0`, this caused a failure because there was no valid depth coordinate for that cell and therefore no closest depth index could be found. This fix simply skips cells that are not in the ocean and masks them out.
- Loading branch information
Showing
1 changed file
with
11 additions
and
3 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