What does “ERROR: MWCS: dimension mismatch (mw_translate)” mean?
This message means there is some error in the image header dealing with the description of the world coordinate system (WCS). In particular the WCSDIM keyword is incorrect. The value of this keyword should either match the dimensionality of the image if there is no WAXMAP01 keyword or half of the number of elements in that keyword if present (that is if there are 6 numbers then WCSDIM should be 3).