| | 63 | |
| | 64 | == State Values == |
| | 65 | |
| | 66 | Nightly science v2 is less state dependent than v1, and the old state parameter {{{nsState}}} is no longer used to control processing. The main state to monitor is {{{nsObservingState}}}. This shows whether nightly science believes we are {{{OBSERVING}}} or at {{{END_OF_NIGHT}}}. While the state is {{{OBSERVING}}}, new exposures should be registering, burntooling, and automatically queuing to chip stage. Once this changes to {{{END_OF_NIGHT}}}, stacks and diffs start checking to see if they are finished. |
| | 67 | |
| | 68 | Both stacks and diffs start in the states {{{nsStackState,nsDiffState = TOWARP,TOWARP}}}. These signify that they are waiting for warps to finish. The standard nightly science task only runs the {{{--queue_X}}} versions of the nightly_science.pl code, as these suitably block multi- and premature queuing. The states will change to {{{STACKING,DIFFING}}} once they have attempted something. After {{{END_OF_NIGHT}}}, these will switch to {{{FINISHED_STACKING,FINISHED_DIFFING}}} when all suitable stacks and diffs have been constructed. |
| | 69 | |
| | 70 | The ns.show.dates prints out the following values: |
| | 71 | {{{ YYYY-MM-DD nsState nsStackState nsDiffState nsObservingState }}} |
| | 72 | |