Closed vrijmoet closed 2 years ago
After some extensive testing, I'm pretty sure this issue is just our ds9 being very out of date.
The most recent version of ds9 is 8.3, but our installed version is 3.3 (from ~2003?). I installed ds9 8.3, XPA, and imexam on another machine, and everything works flawlessly.
I'm having two issues, but maybe they are related.
(1) When I use load_fits() to open an image in ds9, it gives me an XpaException:
(my image is '20201204.09.056.o.fits' and my ds9 window is titled 'testy'. The path in the last line is where I am running my session) I can get around this issue if I first load the image with astropy.io.fits:
Then the image shows up in ds9 and looks good. So, no big deal.
(2) But then when I use imexam() on it, there is a more major error:
Is there any chance I'm getting the second error because of how I'm avoiding the first error?
And is there something else I could try to narrow down what's going wrong? I have tried the suggestions on the "Common Problems" page, and I have tried the above sequence in a script as well as an interactive session.