| | 344 | * CCL: fix some chip/warp errors on update.LAP.PV3 |
| | 345 | {{{ |
| | 346 | SELECT exp_name,chipRun.chip_id,chipRun.state,warpRun.warp_id,warpRun.state,warpRun.label,warpSkyfile.fault FROM warpSkyfile, warpRun, fakeRun, camRun, chipRun, rawExp WHERE warpSkyfile.warp_id = warpRun.warp_id AND warpRun.fake_id = fakeRun.fake_id AND fakeRun.cam_id = camRun.cam_id AND camRun.chip_id = chipRun.chip_id AND chipRun.exp_id = rawExp.exp_id AND warpSkyfile.fault != 0 AND warpRun.label like 'update.LAP.PV3' group by warp_id; |
| | 347 | +-------------+---------+--------+---------+--------+----------------+-------+ |
| | 348 | | exp_name | chip_id | state | warp_id | state | label | fault | |
| | 349 | +-------------+---------+--------+---------+--------+----------------+-------+ |
| | 350 | | o5476g0043o | 1385555 | full | 1330070 | update | update.LAP.PV3 | 2 | |
| | 351 | | o5477g0043o | 1385562 | full | 1330072 | update | update.LAP.PV3 | 2 | |
| | 352 | | o5492g0068o | 1386613 | full | 1331100 | update | update.LAP.PV3 | 2 | |
| | 353 | | o5492g0047o | 1386606 | full | 1331103 | update | update.LAP.PV3 | 2 | |
| | 354 | | o5492g0071o | 1386614 | full | 1331116 | update | update.LAP.PV3 | 2 | |
| | 355 | | o5492g0050o | 1386607 | full | 1331119 | update | update.LAP.PV3 | 2 | |
| | 356 | | o5545g0178o | 1444319 | full | 1391886 | update | update.LAP.PV3 | 2 | |
| | 357 | | o5545g0373o | 1444321 | full | 1391954 | update | update.LAP.PV3 | 2 | |
| | 358 | | o5545g0160o | 1444314 | full | 1391960 | update | update.LAP.PV3 | 2 | |
| | 359 | | o5511g0558o | 1444386 | full | 1392003 | update | update.LAP.PV3 | 2 | |
| | 360 | | o5545g0159o | 1444313 | full | 1392018 | update | update.LAP.PV3 | 2 | |
| | 361 | | o5545g0355o | 1444228 | full | 1392057 | update | update.LAP.PV3 | 2 | |
| | 362 | | o5545g0175o | 1444317 | full | 1392116 | update | update.LAP.PV3 | 2 | |
| | 363 | | o5511g0576o | 1444389 | full | 1392209 | update | update.LAP.PV3 | 2 | |
| | 364 | | o5545g0177o | 1444318 | full | 1392220 | update | update.LAP.PV3 | 2 | |
| | 365 | | o5545g0174o | 1444316 | full | 1392402 | update | update.LAP.PV3 | 2 | |
| | 366 | | o5561g0366o | 1446275 | full | 1396664 | update | update.LAP.PV3 | 2 | |
| | 367 | | o5545g0198o | 1446526 | full | 1397154 | update | update.LAP.PV3 | 2 | |
| | 368 | | o7047g0144o | 1452313 | full | 1399053 | update | update.LAP.PV3 | 2 | |
| | 369 | | o7047g0165o | 1452266 | full | 1399947 | update | update.LAP.PV3 | 2 | |
| | 370 | | o7047g0166o | 1452267 | full | 1399948 | update | update.LAP.PV3 | 2 | |
| | 371 | | o5567g0255o | 1458509 | full | 1408829 | update | update.LAP.PV3 | 2 | |
| | 372 | | o5593g0155o | 1461891 | update | 1413545 | update | update.LAP.PV3 | 2 | |
| | 373 | | o5593g0133o | 1461887 | update | 1413562 | update | update.LAP.PV3 | 2 | |
| | 374 | | o5545g0559o | 1462623 | update | 1415795 | update | update.LAP.PV3 | 2 | |
| | 375 | | o5566g0474o | 1461739 | update | 1429470 | update | update.LAP.PV3 | 2 | |
| | 376 | +-------------+---------+--------+---------+--------+----------------+-------+ |
| | 377 | |
| | 378 | If their error messages are related to the missing "mk.fits, ch.fits, etc.", to reprocess them is the ways I can solve the issue. |
| | 379 | |
| | 380 | chiptool -dbname gpc1 -definebyquery -set_label mopsfix -set_workdir neb://@HOST@.0/gpc1/mops.fixbrokenLAP.20180323 -set_dist_group NULL -set_tess_id RINGS.V3 -set_end_stage warp -set_data_group mops.fixbrokenLAP.20180323 -set_reduction LAP_SCIENCE -exp_name xxx |
| | 381 | |
| | 382 | then send the old chip and warp to clean |
| | 383 | chiptool -dbname gpc1 -updaterun -set_state goto_cleaned -set_label goto_cleaned -chip_id xxx |
| | 384 | warptool -dbname gpc1 -updaterun -set_state goto_cleaned -set_label goto_cleaned -warp_id xxx |
| | 385 | |
| | 386 | If their error messages are related to missing the "psf, mdc", try copy and overwrite the 0 size file with validated one. |
| | 387 | then revert them |
| | 388 | warptool -revertwarped -fault 2 -label update.LAP.PV3 -dbname gpc1 |
| | 389 | |
| | 390 | }}} |