Closed dan-adi closed 1 year ago
Hi @dan-adi and thanks for reporting this bug! I can reproduce it.
Would a skip_wcs
keyword argument to the FITSImage
help? Like
image = FITSImage("C:\\Users\\dan\\Desktop\\notebook\\FWHM\\abell.fits", skip_wcs=True)
Or do you need something fancier? The downside is that an Image.wcs
object will not be available but it seems you error is rather from the astropy.wcs
module, so you might need to build a new WCS solution anyway.
Whatever solution we agree on, we can make that part of the 3.2.0
(next minor release).
Hi @dan-adi and thanks for reporting this bug! I can reproduce it.
Would a
skip_wcs
keyword argument to theFITSImage
help? Likeimage = FITSImage("C:\\Users\\dan\\Desktop\\notebook\\FWHM\\abell.fits", skip_wcs=True)
Or do you need something fancier? The downside is that an
Image.wcs
object will not be available but it seems you error is rather from theastropy.wcs
module, so you might need to build a new WCS solution anyway.Whatever solution we agree on, we can make that part of the
3.2.0
(next minor release).
Hello, thanks for replying.
I did try:
image = FITSImage("C:\\Users\\dan\\Desktop\\notebook\\FWHM\\abell.fits", skip_wcs=True)
But got:
TypeError: FITSImage() got an unexpected keyword argument 'skip_wcs'
I think you meant insert the option
skip_wcs=True
with the next minor release.. Yes it will be just fine. Thank you
Bug Report