Open braingram opened 3 months ago
This is a bit more complicated than expected due to the selective keyword argument handling in open_asdf
. The method does not pass kwargs
to AsdfFile
(but does to asdf.open
) so several uses in stdatamodels
(none in jwst) silently ignore things in kwargs.
This method: https://github.com/spacetelescope/stdatamodels/blob/4041d5f75c2736f4c4131028232d62573c83d732/src/stdatamodels/model_base.py#L570-L573 duplicates (identical) options to
asdf.open
(which also usesignore_version_mismatch=True
andignore_unrecognized_tag=False
and is unused outside of theDatamodel
class.