Open TomNicholas opened 5 days ago
I'm pretty sure I know what's going on here: we currently copy inputs to the constructor but not to the .children setter. This is the assignment version of https://github.com/pydata/xarray/issues/9196 - calling a method on homer2
has the side-effect of also altering one of the inputs lisa
.
This could probably be fixed as part of #9477.
Let's be sure to include this doc update when this is complete either in #9477 or a doc PR update
I think both of these should have the same behavior:
@TomNicholas
Originally posted by @flamingbear in https://github.com/pydata/xarray/issues/9033#issuecomment-2346526772