[PIPE2D-1284] Fix weekly breakage 2023-08-13 Created: 16/Aug/23 Updated: 22/Aug/23 Resolved: 22/Aug/23 |
|
| Status: | Done |
| Project: | DRP 2-D Pipeline |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Story | Priority: | Normal |
| Reporter: | price | Assignee: | price |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
reduceArc is failing: pfs.drp.stella.fitDistortedDetectorMap.FittingError: No selected lines to fit Arc lines are all being flagged because the image is NANs. |
| Comments |
| Comment by price [ 22/Aug/23 ] |
|
I updated the NIR raw files, and the most recent weekly went through fine. from glob import glob import astropy.io.fits import numpy as np for filename in glob("/scratch/pprice/pipe2d-1284/PFFB*.fits"): fits = astropy.io.fits.open(filename) fits["IMAGE_2"].data += int(np.median(fits["REF_2"].data)) fits.writeto(filename, overwrite=True) |
| Comment by price [ 22/Aug/23 ] |
|
Updated simulator to include the NIR bias level. |