Skip to content
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

fix multi-badamp parsing #2233

Merged
merged 1 commit into from
May 2, 2024
Merged

fix multi-badamp parsing #2233

merged 1 commit into from
May 2, 2024

Conversation

sbailey
Copy link
Contributor

@sbailey sbailey commented May 2, 2024

This PR fixes a bug in BADAMP header keyword parsing when multiple amps are bad. The keyword is just the characters without commas, e.g. "AC" not "A,C". This PR updates to support either case in the future though.

Previously fails, now works:

desi_compute_psf --input-image /dvs_ro/cfs/cdirs/desi/spectro/redux/j1/preproc/20231204/00207924/preproc-b5-00207924.fits.gz --input-psf /dvs_ro/cfs/cdirs/desi/spectro/redux/j1/exposures/20231204/00207924/shifted-input-psf-b5-00207924.fits --output-psf $SCRATCH/fit-psf-b5-00207924.fits --broken-fibers 342,400

I will self merge once tests pass so that we can update and run with this for pre-Jura testing.

@sbailey sbailey merged commit 39b053b into main May 2, 2024
26 checks passed
@sbailey sbailey deleted the badamp_parsing branch May 2, 2024 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

1 participant