Details
-
Type:
Bug
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: ip_isr
-
Labels:None
-
Story Points:0.5
-
Epic Link:
-
Team:Data Release Production
-
Urgent?:No
Description
I'm trying to run the PTC task with the linearizer. I successfully created the linearizers and certified them. I know they are there, because I can butler.get them with the same set of collections and plot them. I have set doLinearize: true in the yaml file. When I tried to run it, the results were the same as with doLinearize: false. Merlin Fisher-Levine pointed out that when the code can't find the linearizer, it just creates a default linearizer. So there are really two issues:
(1) Why is the code not finding the linearizer?
(2) Why does it just drive on and use the default when doLinearize is true?
Below is the set of pipetasks I ran:
pipetask run -j 16 -d "detector IN (0..188) AND instrument='LSSTCam' AND exposure=3021120600576" -b /repo/main -i LSSTCam/raw/all,LSSTCam/calib,LSSTCam/calib/u/cslage/13144,u/cslage/bps_13144B -o u/cslage/bps_13144D -p /project/cslage/BOT_LSSTCam/pipelines/cpLinearitySolve.yaml --register-dataset-types
butler certify-calibrations /repo/main u/cslage/bps_13144D LSSTCam/calib/u/cslage/13144 --begin-date 1980-01-01 --end-date 2050-01-01 linearity
pipetask run -j 32 -d "detector IN (55,74) AND instrument='LSSTCam' AND exposure IN (3021120600575..3021120700825) AND exposure.observation_type='flat'" -b /repo/main -i LSSTCam/raw/all,LSSTCam/calib,LSSTCam/calib/u/cslage/13144 -o u/cslage/bps_13144D -p /project/cslage/BOT_LSSTCam/pipelines/measurePhotonTransferCurve.yaml --register-dataset-types
Christopher Waters it seems like the draft PR I've made might be all that's needed here, but could you just give that a look and see if that looks like it will break anything else?