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
Fixed for sphRealConvert() in e2ad5eb, but may need to propagate elsewhere.
E.g.
dataCalc = dataIn.copy() # Works for base attrs dict, but not nested dicts.
dataCalc.attrs = copy.deepcopy(dataIn.attrs) # THIS WORKS ALSO FOR NESTED DICT CASE
TODO: may have also fixed elsewhere? See PEMtk and IO codes for more .attrs handling methods.
TODO: check Xarray versions, tested in 2022.3.0 which is not latest.
Noticed that xr.copy() isn't deep-copying nested dicts (note xr.copy(deep=True) is default, see https://docs.xarray.dev/en/stable/generated/xarray.DataArray.copy.html).
Fixed for
sphRealConvert()
in e2ad5eb, but may need to propagate elsewhere.E.g.
TODO: may have also fixed elsewhere? See PEMtk and IO codes for more .attrs handling methods.
TODO: check Xarray versions, tested in
2022.3.0
which is not latest.See also pydata/xarray#2835
UPDATE: this is an issue in
2022.3.0
, but not in2022.6.0
.The text was updated successfully, but these errors were encountered: