Warn on invalid WCS unit

Possible solution to #3190.
Sure.