-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't apply mappers to DataArrays #227
Conversation
Codecov Report
@@ Coverage Diff @@
## main #227 +/- ##
==========================================
- Coverage 96.45% 96.34% -0.12%
==========================================
Files 14 14
Lines 1609 1614 +5
==========================================
+ Hits 1552 1555 +3
- Misses 57 59 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
"metadata": {}, | ||
"outputs": [], | ||
"source": [ | ||
"xr.set_options(keep_attrs=True)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like we've been running the intro notebook without xr.set_options(keep_attrs=True)
.
I don't think the issue without it was triggered by this PR, but I might be wrong.
Anyways, I think we should keep attributes and maybe re-discuss #77?
Thanks @malmans2 let's try it! |
* main: (57 commits) Add CITATION.cff, tributors, zenodo.json (xarray-contrib#231) Add zenodo badge Improve `rename_like` (xarray-contrib#222) Don't apply mappers to DataArrays (xarray-contrib#227) Add unit support to cf-xarray (xarray-contrib#197) Update README.rst Add earthcube 2021 notebook link to readme v0.5.2 Some CMIP6 support Add pooch to binder environment (xarray-contrib#223) `add_bounds` uses `keys` rather than `dims` (xarray-contrib#221) Add .cf.formula_terms (xarray-contrib#213) Update whats-new.rst (xarray-contrib#217) add bounds property (xarray-contrib#214) Update some tests. Compile regexes Fix black Add __version__ (xarray-contrib#208) add skip to rename_like (xarray-contrib#206) Refactor out coordinate criteria to criteria.py (xarray-contrib#205) ...
Closes #226