Catch astropy.wcs warnings
(#364)