| | 53 | |
| | 54 | |
| | 55 | JRF: (afternoon czar formation ft. MEH) |
| | 56 | |
| | 57 | |
| | 58 | The recipes directory contains a bunch of configurations: |
| | 59 | {{{ |
| | 60 | ippitc/src/ipp-20170121/ippconfig/recipes |
| | 61 | }}} |
| | 62 | |
| | 63 | |
| | 64 | We'll look at the {{{reductionClasses.mdc}}} config file: |
| | 65 | |
| | 66 | Contains the configuration for how to process something. In this case the '''CHIP_PPIMAGE''' stage is set to '''CHIP_NOMASKTEST''' instead of the usual '''CHIP'''. |
| | 67 | |
| | 68 | # test for MOPS request reprocessing without masking |
| | 69 | {{{ |
| | 70 | NOMASKTEST METADATA |
| | 71 | CHIP_PPIMAGE STR CHIP_NOMASKTEST |
| | 72 | . |
| | 73 | . |
| | 74 | . |
| | 75 | BACKGROUND_PSWARP STR BACKGROUND |
| | 76 | PSVIDEOPHOT STR PSVIDEOPHOT |
| | 77 | END |
| | 78 | }}} |
| | 79 | |
| | 80 | There are separate configs for each camera (go up a directory then into the relevant camera dir). There are a bunch of configs here are empty in the main config, but have entries for the separate cameras. This is because data from each camera should be treated separately. |
| | 81 | |
| | 82 | |
| | 83 | '''WATCH OUT''': If you reprocess something with a different config then the stamp server will use whatever the latest config was for a request! |
| | 84 | Therefore, it's best to do some crazy reprocessing locally, so as not to pollute the database with entries that could confuse the current stamp request system. |
| | 85 | |
| | 86 | Time to reprocess some stuff for Rob with no masks (as seen on PSNSC_MOPS page and czar log from 2019.02.18 - 2019.02.24): |
| | 87 | {{{ |
| | 88 | chiptool -definebyquery -set_label mops.nomasktest -set_workdir neb://@HOST@.0/gpc1/mops.nomasktest -set_data_group mops.nomasktest -set_dist_group NULL -set_tess_id RINGS.V3 -set_end_stage warp -set_reduction NOMASKTEST -dbname gpc1 -exp_name o7403g0726o |
| | 89 | chiptool -definebyquery -set_label mops.nomasktest -set_workdir neb://@HOST@.0/gpc1/mops.nomasktest -set_data_group mops.nomasktest -set_dist_group NULL -set_tess_id RINGS.V3 -set_end_stage warp -set_reduction NOMASKTEST -dbname gpc1 -exp_name o7403g0707o |
| | 90 | chiptool -definebyquery -set_label mops.nomasktest -set_workdir neb://@HOST@.0/gpc1/mops.nomasktest -set_data_group mops.nomasktest -set_dist_group NULL -set_tess_id RINGS.V3 -set_end_stage warp -set_reduction NOMASKTEST -dbname gpc1 -exp_name o7403g0688o |
| | 91 | chiptool -definebyquery -set_label mops.nomasktest -set_workdir neb://@HOST@.0/gpc1/mops.nomasktest -set_data_group mops.nomasktest -set_dist_group NULL -set_tess_id RINGS.V3 -set_end_stage warp -set_reduction NOMASKTEST -dbname gpc1 -exp_name o7403g0669o |
| | 92 | }}} |
| | 93 | As you can see we're using the NOMASKTEST reduction that we just had a look at the config for. |
| | 94 | |
| | 95 | Don't forget to add the label to pantasks to make it run! |
| | 96 | |
| | 97 | |
| | 98 | Time to fix some stuck jobs! |
| | 99 | Some files are needed from ippb05, but it has been misbehaving and was set to down ealier today. We shall quickly put it to repair so that the files can be accessed: |
| | 100 | {{{ |
| | 101 | neb-host ippb05 repair --note "JRF: down -> repair: so that some broken updates can clear on ippmonitor" |
| | 102 | }}} |
| | 103 | Then we shall revert the chip for the stuck job so that it can continue: |
| | 104 | {{{ |
| | 105 | chiptool -revertprocessedimfile -fault 2 -label ps_ud_MOPS -dbname gpc1 |
| | 106 | }}} |
| | 107 | You don't need to specify the chip_id, it'll just revert all faults that are stuck. |
| | 108 | |
| | 109 | |
| | 110 | If you come across a stamp that you suspect maybe be stuck, have a look at it using: |
| | 111 | {{{ |
| | 112 | pstamptool -dbname ippRequestServer -dbserver ipp113 -pendingdependent -simple |
| | 113 | }}} |
| | 114 | remove '-simple' to get some more information. |
| | 115 | |