-
Notifications
You must be signed in to change notification settings - Fork 12
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
[Bug]: Attributes are not being preserved with temporal averaging APIs using xarray > 2023.3.0
#458
Comments
xarray > 2023.3.0
This issue is related to a line in the temporal averaging API for generating weights, not spatial averaging. Line 1141 in cbef082
In the latest version of xarray, |
Related discussion: #455 (leaving this for record) |
xarray > 2023.3.0
xarray >= 2023.4.2
xarray >= 2023.4.2
xarray > 2023.3.0
Hey @bonfils2, just a heads up that I released a patch for v0.5.0 on conda-forge to fix the issue of attributes being dropped when calculating weighted temporal averages. conda/mamba should automatically pull the latest version. If you want to update xcdat in an existing environment, you can run |
What happened?
In the xcdat dependencies, xarray version is set to 2023.3.0, but it has been updated to newer version when you were installing new jupyter notebook in your env.
What did you expect to happen?
I expected the code to run, as usual.
Minimal Complete Verifiable Example
Relevant log output
Anything else we need to know?
The problem was fixed with : conda install xarray=2023.3.0
Environment
0.5.0
2023.4.2
The text was updated successfully, but these errors were encountered: