Open mattaubury opened 7 months ago
Thanks for opening your first issue here at xarray! Be sure to follow the issue template! If you have an idea for a solution, we would really welcome a Pull Request with proposed changes. See the Contributing Guide for more. It may take us a while to respond here, but we really value your contribution. Contributors like you help make xarray better. Thank you!
This does seem off. And notably it works on 2024.2.0
@mattaubury When False
you are combining two DataArray's, when True
you are combining two Dataset's. If you extract the DataArray's from the Dataset's and combine them this works.
Do you think this should work for the Dataset's?
I think combine_first
is expected to work for Datasets too
What happened?
I'm trying to run
combine_first
on two DataArrays (on which asel
has been performed). This works fine if I manipulated the DataArrays directly in memory, but if I read them from disk I get the following error:What did you expect to happen?
The
combine_first
should succeed. Removing the internal branch which round-trips the arrays to netcdf demonstrates it working.Minimal Complete Verifiable Example
MVCE confirmation
Relevant log output
Anything else we need to know?
No response
Environment