We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
jwst_nirspec_wavelengthrange_0004.asdf has extra spaces in the value of meta.exposure.p_exptype. Simple demonstration:
import asdf import crds keys = {'INSTRUME': 'NIRSPEC', 'EXP_TYPE': 'NRS_BRIGHTOBJ', 'DATE-OBS': '2021-03-30', 'TIME-OBS': '00:00:00'} refs = crds.getreferences(keys, reftypes=['wavelengthrange']) content = asdf.open(refs['wavelengthrange']) p_exptype = content['meta']['exposure']['p_exptype'] print(p_exptype)
yields
NRS_TACQ|NRS_TASLIT|NRS_TACONFIRM| NRS_CONFIRM|NRS_FIXEDSLIT|NRS_IFU|NRS_MSASPEC|NRS_IMAGE|NRS_FOCUS| NRS_MIMF|NRS_BOTA|NRS_LAMP|NRS_BRIGHTOBJ|
Note the four extra spaces in front of NRS_CONFIRM and NRS_MIMF, both of which occur at the start of a continuation line in wave_range2asdf.py.
NRS_CONFIRM
NRS_MIMF
The text was updated successfully, but these errors were encountered:
No branches or pull requests
jwst_nirspec_wavelengthrange_0004.asdf has extra spaces in the value of meta.exposure.p_exptype. Simple demonstration:
yields
Note the four extra spaces in front of
NRS_CONFIRM
andNRS_MIMF
, both of which occur at the start of a continuation line in wave_range2asdf.py.The text was updated successfully, but these errors were encountered: