You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Cadair
added a commit
to Cadair/gwcs
that referenced
this issue
Oct 12, 2023
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: