-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a cascading search to determine the time dimension (#145)
* Use a cascading search to determine the time dimension The assumption that time was the only record dimension in a file was not particularly robust against real data. We instead check: - standard_name == 'time' - axis == 'T' - record dimension - name.lower() == 'time' Fixes #144. * Check dimension in dataset variables A dimension without an associated variable causes a KeyError when we're looking for dimensions that contain a particular attribute, when this should just count as not finding the attribute.
- Loading branch information
Showing
7 changed files
with
50 additions
and
1 deletion.
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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