[PIPE2D-1159] Please always provide a detectorMap_used file Created: 12/Feb/23 Updated: 14/Feb/23 Resolved: 14/Feb/23 |
|
| 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: | price |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Reviewers: | arnaud.lefur |
| Description |
|
Please always write detectorMap_used even if it's identical to detectorMap; this allows users to get into the habit of always using the best available map |
| Comments |
| Comment by price [ 12/Feb/23 ] |
|
Could you please give an example of when a detectorMap_used is not available after running reduceExposure? |
| Comment by rhl [ 12/Feb/23 ] |
|
I don't see any in /work/rhl/rerun/rhl/tickets/ I think that the magic config is photometerLines.doApertureCorrection=False although that seems unlikely. |
| Comment by price [ 12/Feb/23 ] |
|
Ah, it's only written if doAdjustDetectorMap is True: https://github.com/Subaru-PFS/drp_stella/blob/master/python/pfs/drp/stella/reduceExposure.py#L538 |
| Comment by rhl [ 12/Feb/23 ] |
|
Because, at times, doAdjustDetectorMap has made matters worse. I'm sure that'll never happen again |
| Comment by arnaud.lefur [ 13/Feb/23 ] |
|
I usually turn it off in hilo for the "on the fly" reduction, because it's much faster without. |
| Comment by price [ 14/Feb/23 ] |
|
arnaud.lefur, would you like to take this for a test drive before I merge? |
| Comment by arnaud.lefur [ 14/Feb/23 ] |
|
Yes, just did a quick test and it worked |
| Comment by price [ 14/Feb/23 ] |
|
Merged to master. |