-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Read a GWCS object from a FITS file #136
Comments
That would be useful, thanks! Is this a general standard or specific to JWST? |
This is JWST. We should link the WCS from the top object so you can do
Also I thought @drdavella had a PR where it was possible to omit |
@nden maybe you're thinking about doing |
@drdavella |
I wonder if it is worth the trouble to alias |
I'm 👎 on aliasing. It's a key in a dictionary and it's defined to be lower case. An alias is too confusing. What about astropy where the |
So... p.s. p.p.s. Using GWCS dev + ASDF dev + Astropy dev combo gives me |
Just for clarification, you don't need to convert to GWCS object. |
@drdavella says there is a small bug in Astropy (maybe he can link the PR when he has it). @nden , don't I need a WCS object to do these things -- http://gwcs.readthedocs.io/en/latest/gwcs/using_wcs.html ? How am I supposed to do a "sky2pix" and "pix2sky" with |
You are supposed to get a GWCS object back, not a TaggedDict. I can't reproduce this problem that's why I think it's a configuration issue. |
For the record, here is a log of my attempt. And no, I don't have https://gist.github.com/pllim/a1c0097daef479a5bec848aea9889d33 |
Some of the transforms which define the JWST WCS are in the jwst package. Since you don't have it installed, asdf returns the raw data in a dict. |
This ticket is now being tracked at AL-45 |
Something like this (in a function or method):
@pllim
The text was updated successfully, but these errors were encountered: