This comment **really** doesn't make sense to me. What does it apply to? 

The ```if``` statement is determining the name of dimensions that **do** exist, which contradicts the comment! The ```else``` clause, on the other hand, is dealing with dimensions that don't have a CF coordinate associated with it ...