-
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.
Make cell_methods-derived bounds optional in getvar
This is particularly useful for ice data where we can get the time bounds for averaging intervals. However, because we were attaching the bounds as an xarray Dataset, we could't serialise a variable straight back to disk, which was catching people out. Instead, we can make the bounds optional, only if you want them. In this case, return a full xarray Dataset, rather than just a DataArray. Closes #284.
- Loading branch information
Showing
2 changed files
with
21 additions
and
10 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