Closed mrschweizer closed 2 years ago
Problem: xarray Broadcasting doesnt work Properly since the names of the dimensions are not equal on a global scale: eg. ('Field', 'Frequency', 'Frequency+') vs ('Field', 'Frequency') where Frequency+ and Frequency refer to the same coordinates.
A workaround is manually renaming the dims (e.g. 'Frequency' -> 'Frequency+'.
This could be accomodated in future releases by checking for duplicates in the self.definition of the measurement tree, instead of checking for while building the dependencies of the xarray.DataArray.
This has been addressed in 0.0.27 and 0.0.28.
If two are loaded from the same Measurement Tree, it is possible that the same dimensions have different names (eg Frequency and Frequency+). This Bug will occur when one array depends on multiple rows with the same Name, and one only depends on one of those.