You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Zeitsperre
changed the title
loosing attributes of coords when using weights in ensemble stats
Losing attributes of coords when using weights in ensemble stats
Nov 10, 2022
<!--Please ensure the PR fulfills the following requirements! -->
<!-- If this is your first PR, make sure to add your details to the
AUTHORS.rst! -->
### Pull Request Checklist:
- [x] This PR addresses an already opened issue (for bug fixes /
features)
- This PR fixes#1232
- [ ] Tests for the changes have been added (for bug fixes / features)
- [ ] (If applicable) Documentation has been added / updated (for bug
fixes / features)
- [x] HISTORY.rst has been updated (with summary of main changes)
- [x] Link to issue (:issue:`number`) and pull request (:pull:`number`)
has been added
### What kind of change does this PR introduce?
* fixes 1232. Keeps coordinates attributes when using `weights` in `
ensemble_mean_std_max_min` and ` ensemble_percentiles`.
### Does this PR introduce a breaking change?
no
### Other information:
Setup Information
Description
When I add the
weights
argument to ensemble statistics, I lose the attributes of my coordinates.I think this is related to the fact that the
weights
dataset only has arealization
coord.Steps To Reproduce
with weights:
without weights:
Additional context
This is also an issue for ensemble_percentiles.
Contribution
Code of Conduct
The text was updated successfully, but these errors were encountered: