-
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
SpectralFrame ignoring reference_position #436
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While testing schema with defaults I encountered unexpected behavior when loading an asdf file with a saved spectral frame.
First running:
Will generate an asdf file with contents:
However, loading this file ignores
reference_position
entirely:Prints
None
I believe the cause of the error is that
reference_position
is not propagated throughFrameConverter._from_yaml_tree
:gwcs/gwcs/converters/wcs.py
Lines 46 to 69 in baef572
called from
SpectralFrameConverter
:gwcs/gwcs/converters/wcs.py
Line 135 in baef572
I looked back several versions and believe this issue might be older than 0.9 (for older versions the issue was with the old asdf types instead of converters).
The text was updated successfully, but these errors were encountered: