[PIPE2D-1094] Organise H4RG defects by logical serial number (snX) not spectrograph number (nY) Created: 17/Oct/22 Updated: 03/Nov/22 Resolved: 18/Oct/22 |
|
| Status: | Done |
| Project: | DRP 2-D Pipeline |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Story | Priority: | Normal |
| Reporter: | rhl | Assignee: | rhl |
| Resolution: | Done | Votes: | 0 |
| Labels: | NIR | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Reviewers: | cloomis | ||||||||
| Description |
|
The mapping of H4RG device to final spectrograph is not yet known, and indeed the mapping is different at JHU and LAM. Accordingly, we added sn names for the chips as follows:
The defects need to be arranged by sn number, not spectrograph number. In order for this to be useful, the script that ingests them to be used in a calibration directory needs to be a little smarter:
While working on this ticket, we should add the serial to the metadata in the defects .ecsv files |
| Comments |
| Comment by rhl [ 17/Oct/22 ] |
|
Not all that beautiful, but it seems to work. The critical script is in obs_pfs and has a reasonably extensive description. Basically, you need to setup the proper version of drp_pfs_data (i.e. one on this branch) and run a command like TARGET=/projects/HSC/PFS/LAM #rm -f $TARGET/CALIB/calibRegistry.sqlite3 ingestPfsDefects --lam ~/sss/stagingArea $TARGET --calib $TARGET/CALIB --config clobber=True You can specify the location of the defects on the command line instead if you prefer. See |
| Comment by rhl [ 18/Oct/22 ] |
|
Merged |
| Comment by hassan [ 29/Oct/22 ] |
|
As Paul points out, the drp_pfs_data ticket branch has not been merged. |
| Comment by hassan [ 31/Oct/22 ] |
|
Merged drp_pfs_data changes to master. |