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
It'd be nice to have this as a built-in option so we can use
withxr.set_options(arithmetic_join="strict"):
...
Describe alternatives you've considered
An alternative would be to allow control over automatic broadcasting through the set_options context manager., but that seems like it would be more complicated to implement.
Additional context
This turns up in staggered grid calculations with xgcm where it is easy to mistakenly construct very high-dimensional arrays because of automatic broadcasting.