**Sorry, no, the above does not work**
(I didn't intend to press the button anyway)

We need to distinguish three *different* valid cases
no coord : dims = None
scalar_coord : dims = (,)
1d coord : dims = (d,)

Frankly it's a bit confusing, as code that distinguishes (x is None) from (not bool((x)) cases is likely to be.