IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 15 and Version 16 of PS1_IPP_Czarlog_20190503


Ignore:
Timestamp:
May 7, 2019, 1:05:14 PM (7 years ago)
Author:
cclin33
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PS1_IPP_Czarlog_20190503

    v15 v16  
    346346
    347347=== Tuesday : 2019.05.07 ===
     348* CCL 12:30 : try to find warp_id and corresponding chip_id to see it chip state
     349{{{
     350SELECT rawExp.exp_name,rawExp.exp_id,chipRun.chip_id,chipRun.state,camRun.cam_id,fakeRun.fake_id,warpRun.warp_id,warpRun.state,warpRun.label,warpRun.data_group \
     351FROM warpRun, fakeRun, camRun, chipRun, rawExp \
     352WHERE warpRun.fake_id = fakeRun.fake_id \
     353AND fakeRun.cam_id = camRun.cam_id \
     354AND camRun.chip_id = chipRun.chip_id \
     355AND chipRun.exp_id = rawExp.exp_id \
     356AND warpRun.state like 'update' \
     357AND warpRun.label like 'update.LAP.PV3'  order by exp_name limit 10
     358                                                           
     359mysql xxx -B -e 'SELECT chipRun.chip_id FROM warpRun, fakeRun, camRun, chipRun, rawExp \
     360WHERE warpRun.fake_id = fakeRun.fake_id \
     361AND fakeRun.cam_id = camRun.cam_id \
     362AND camRun.chip_id = chipRun.chip_id \
     363AND chipRun.exp_id = rawExp.exp_id \
     364AND warpRun.state like "update" \
     365AND warpRun.label like "update.LAP.PV3" \
     366AND chipRun.state not like "update" | \
     367sed 's/^/chiptool -dbname gpc1 -updaterun -state wait -set_state update -set_label update.LAP.PV3 -chip_id /' > wait-update.sh
     368&&
     369sed 's/^/chiptool -dbname gpc1 -setimfiletoupdate -set_label update.LAP.PV3 -chip_id /' > setimfiletoupdate.sh
     370
     371** might not be all at "wait" state with "chipRun.state not like update"
     372}}}
    348373
    349374=== Wednesday : 2019.05.08 ===