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
This is not an issue with merging. Sigma is not a monotonic coordinate, hence why it is an AuxCoord if we load then extract. Providing two constraints on loading allows it to be deemed monotonic.
For example (coord1 here is not monotonic):
coord1 = [1, 3, 2, 2, 3, 1]
coord2 = [1, 2, 3, 4, 5, 6]
Constrained load based on coord2 values (0, 2, 4) results in a monotonic coord1 coordinate:
coord1 = [1, 2, 3]
coord2 = [1, 3, 5]
So I think the real bug here is that we cannot infer that coord1 is now a dimension coordinate (monotonic) just because we have extracted values that happen to make it monotonic (and therefore a dimension coordinate).
The type of a scalar coordinate is not preserved for scalars:
The text was updated successfully, but these errors were encountered: