-
Notifications
You must be signed in to change notification settings - Fork 300
Closed
Milestone
Description
I'm pretty sure that cube.summary() will never produce an Invalid coordinate. Specifically, when this line is called:
Line 2045 in 1d7d0b5
| invalid_coords = [coord for coord in all_coords if id(coord) not |
I believe that
invalid_coords will always be empty. It is essentially defined as a coordinate which is neither a scalar coordinate nor a vector coordinate, however vector coordinates are already defined so that they contain all coordinates which are not scalar coordinates. This means that all coordinates are necessarily either scalar or vector coordinates at this point.