These are chat archives for astropy/astropy
adivijaykumar on FreenodeHOw does one check whether a given header contains a valid WCS for ImageBaseHDU?
Cadairtry and build a astropy.wcs.WCS object from it?
adivijaykumar on FreenodeWanted to figure out the error handling for it
adivijaykumar on FreenodeIf I call WCS, it will automatically throw the WcsError right?
CadairI think so, but I am not 100% sure
adivijaykumar on FreenodeIS there extra error handling required?
adivijaykumar on FreenodeOh
CadairI don't know what the failure mode for accessing
.wcsshould be if the WCS is not valid
adivijaykumar on FreenodeI shall anyway open a PR with my existing soln
CadairI would guess WCSError
adivijaykumar on FreenodeYep, same here
Cadairyeah do that and people who know more about it than me can discuss!
adivijaykumar on Freenode:)