Oh, sorry, that probably didn't make sense; it couldn't convert to m it didn't know what it was. Should think longer before posting... I did notice that there's a units class in pywcs (under API documentation), so maybe that will help?