🐛 Bug Report
The tuple that is cube.aux_coords
contains scalar coords. Why? Surely ScalarCoords are not the same as AuxCoords? This presents a problem when trying to remove AuxCoords from a cube, for instance to deal with errors when using cube.coords(dimensions=[0])
(see #3324).
How To Reproduce
Inspect cube.aux_coords
for a cube containing both AuxCoords and ScalarCoords. You will find that both types of coords are present in the tuple.
Expected behaviour
cube.aux_coords
returns a tuple containing only AuxCoords.
Environment
- OS & Version: RHEL7
- Iris Version: 3.1.0