spacetelescope/specviz

Explore handeling FITS image files (dispersion in header WCS) in file loader wizard

SaOgaz opened this issue · 7 comments

Sample files provided through #660.

How do we want to incorporate header WCS into the current file loader wizard?

This is currently very hard to overcome. I have tried writing my own custom loader not even using the wizard for a fits image spectra and it loads into specutils without a problem but specviz is so set on getting a table that the registry check (I think! I don't really understand it but it uses the astropy.io.regstry there) fails when I give it a none-table fits file ... at least that's what I think is happening...

@nluetzge if you can provide an example file and also the loader you're using, I can try to take a look. This should be possible even if the loader wizard currently doesn't support it.

@drdavella I'm actually getting the same error now even with a loader I created with the wizard: Its this one:
screen shot 2019-02-13 at 9 36 34 am

@nluetzge I think I understand where that error is coming from. It's a side-effect of the fix in #640, but it turns out that we're not properly accounting for custom loaders. It would be helpful if you were able to share your data and loader so that I have something to test against.

@drdavella Ok so do you want the data and loader of the table I'm trying to load or the data and loader of the fits image?

Both would be useful if it's not too difficult. And feel free to share with me over another channel if that's easier.

Ok cool will contact you on slack