| 47 | | === Friday : YYYY.MM.DD === |
| | 47 | === Friday : 2015.06.12 === |
| | 48 | |
| | 49 | * 08:45 EAM: various issues this morning. processing seems to be sluggish for reasons that are not yet obvious. some things I needed to do: |
| | 50 | * registration problems for a couple of exposures. I needed to revert the exposures: |
| | 51 | {{{ |
| | 52 | regtool -dbname gpc1 -revertprocessedexp -exp_id 927096 |
| | 53 | regtool -dbname gpc1 -revertprocessedexp -exp_id 927200 |
| | 54 | }}} |
| | 55 | * 7 diffs from Jun 11 were not running because their source warps had been cleaned. I set the warps to update. some useful mysql commands: |
| | 56 | {{{ |
| | 57 | select diff_id, diffInputSkyfile.skycell_id, diffSkyfile.fault, warpSkyfile.data_state, diffSkyfile.data_state, warp1, warp2 |
| | 58 | from diffInputSkyfile |
| | 59 | left join diffSkyfile using (diff_id, skycell_id) |
| | 60 | join diffRun using (diff_id) |
| | 61 | join warpSkyfile on (warp1 = warp_id and warpSkyfile.skycell_id = diffInputSkyfile.skycell_id) |
| | 62 | where label = 'ThreePi.nightlyscience' and state = 'new' and diffSkyfile.fault is null |
| | 63 | +---------+------------------+-------+------------+------------+---------+---------+ |
| | 64 | | diff_id | skycell_id | fault | data_state | data_state | warp1 | warp2 | |
| | 65 | +---------+------------------+-------+------------+------------+---------+---------+ |
| | 66 | | 1160284 | skycell.1961.008 | NULL | update | NULL | 1589194 | 1589744 | |
| | 67 | | 1160286 | skycell.1879.060 | NULL | update | NULL | 1589192 | 1589742 | |
| | 68 | | 1160286 | skycell.1879.070 | NULL | update | NULL | 1589192 | 1589742 | |
| | 69 | | 1160286 | skycell.1879.090 | NULL | update | NULL | 1589192 | 1589742 | |
| | 70 | | 1160287 | skycell.1881.058 | NULL | update | NULL | 1589200 | 1589827 | |
| | 71 | | 1160291 | skycell.2038.051 | NULL | update | NULL | 1589201 | 1589775 | |
| | 72 | | 1160291 | skycell.2038.081 | NULL | update | NULL | 1589201 | 1589775 | |
| | 73 | | 1160292 | skycell.2039.090 | NULL | update | NULL | 1589195 | 1589743 | |
| | 74 | | 1160293 | skycell.1959.010 | NULL | update | NULL | 1589187 | 1589825 | |
| | 75 | | 1160293 | skycell.1959.040 | NULL | update | NULL | 1589187 | 1589825 | |
| | 76 | | 1160293 | skycell.1959.050 | NULL | update | NULL | 1589187 | 1589825 | |
| | 77 | | 1160293 | skycell.1959.070 | NULL | update | NULL | 1589187 | 1589825 | |
| | 78 | | 1160293 | skycell.1960.009 | NULL | update | NULL | 1589187 | 1589825 | |
| | 79 | | 1160293 | skycell.1960.039 | NULL | update | NULL | 1589187 | 1589825 | |
| | 80 | | 1160293 | skycell.1960.049 | NULL | update | NULL | 1589187 | 1589825 | |
| | 81 | | 1160294 | skycell.2038.051 | NULL | update | NULL | 1589189 | 1589745 | |
| | 82 | +---------+------------------+-------+------------+------------+---------+---------+ |
| | 83 | }}} |
| | 84 | The warps in data_state 'update' were earlier in 'cleaned'. I dumped the output above to a file and used the following awk to set them to update: |
| | 85 | {{{ |
| | 86 | awk '(NR > 1){printf "warptool -setskyfiletoupdate -set_label ThreePi.nightlyscience -dbname gpc1 -warp_id %s -skycell_id %s\n", $6, $2}' | tcsh |
| | 87 | }}} |
| | 88 | |
| | 89 | |