These are chat archives for astropy/astropy

12th
Jan 2017
matrixbot
@matrixbot
Jan 12 2017 11:14
adivijaykumar on Freenode Hello
Cadair Hello
adivijaykumar on Freenode HOw does one check whether a given header contains a valid WCS for ImageBaseHDU?
Cadair try and build a astropy.wcs.WCS object from it?
adivijaykumar on Freenode I was trying to solve https://github.com/astropy/astropy/issues/4866#issuecomment-271591983
adivijaykumar on Freenode Wanted to figure out the error handling for it
adivijaykumar on Freenode If I call WCS, it will automatically throw the WcsError right?
Cadair I think so, but I am not 100% sure
adivijaykumar on Freenode IS there extra error handling required?
adivijaykumar on Freenode Oh
Cadair I don't know what the failure mode for accessing .wcs should be if the WCS is not valid
adivijaykumar on Freenode I shall anyway open a PR with my existing soln
Cadair I would guess WCSError
adivijaykumar on Freenode Yep, same here
matrixbot
@matrixbot
Jan 12 2017 11:19
Cadair yeah do that and people who know more about it than me can discuss!
adivijaykumar on Freenode :)