IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 2 and Version 3 of NightlyScienceV2


Ignore:
Timestamp:
Dec 21, 2010, 3:42:36 PM (16 years ago)
Author:
watersc1
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NightlyScienceV2

    v2 v3  
    2020== Configuration ==
    2121 
    22  The configuration is stored in {{{ippconfig/recipes/nightly_science.config}}} and has a standard IPP metadata format.
     22The configuration is stored in {{{ippconfig/recipes/nightly_science.config}}} and has a standard IPP metadata format.
    2323
    2424=== CLEAN_MODES ===
     
    6262These rules define how the detrend verify runs are queued.  Each has a {{{NAME}}} and use {{{DETTYPE,EXPTYPE}}} to determine the type of verify run to generate.  The reference detrend is set using the {{{REF_ID,REF_ITER}}} values.  If a {{{FILTER}}} value is set, then only exposures in that filter are used for the verification.  The number of exposures to use in the verification process is set by {{{MAX_EXP}}}.
    6363
    64 == Faults ==
    65 
    6664== Manual Operation Modes ==
    6765
     66These commands show how to investigate the current status of the system, and how to manually fix certain issues. This assumes we are working with gpc1 data.  All dates and times are UTC unless otherwise noted.
     67
     68=== Look at the current status of observations/registration ===
     69
     70 This should probably be a mode to regtool with date and class_id options:
     71{{{
     72SQL:
     73SELECT DISTINCT exp_name,
     74  summitExp.dateobs AS registered, summitExp.imfiles, summitExp.fault AS summit_fault,
     75  pzDownloadExp.state AS download_state, newExp.state AS newExp_state, rawExp.state AS rawExp_state,   
     76  rawImfile.data_state AS imfile_state,
     77  newExp.exp_id, summitExp.exp_type,
     78  rawExp.dateobs, rawExp.obs_mode AS obs_mode, rawExp.object AS object,
     79  rawImfile.burntool_state AS burntool_state, rawImfile.class_id,
     80  (pzDownloadExp.state = 'stop') AS is_downloaded,(rawImfile.burntool_state IS NOT NULL) AS is_registered
     81FROM summitExp LEFT JOIN pzDownloadExp USING(exp_name) LEFT JOIN newExp ON exp_name = tmp_exp_name         
     82  LEFT JOIN rawExp USING(exp_id, exp_name) LEFT JOIN rawImfile USING(exp_name)
     83WHERE rawImfile.dateobs > '2010-12-18T00:00:00' AND class_id = 'XY45';
     84}}}
     85
     86=== Look at the current list of pending imfiles ===
     87
     88{{{ regtool -pendingimfile -dbname gpc1 }}}
     89
     90=== Look at the current list of pending burntool imfiles ===
     91
     92{{{ regtool -pendingburntoolimfile -date YYYY-MM-DD -valid_burntool 14 -dbname gpc1 }}}
     93
     94=== Look at the current list of pending exposures ===
     95
     96{{{ regtool -pendingexp -dbname gpc1 }}}
     97
     98=== Revert an imfile that has failed registration ===
     99
     100This has not happened before, but is increasingly likely as we start processing while still downloading and registering data. There is a revert task in the {{{registration}}} pantasks, but it is off by default.
     101
     102{{{ regtool -revertprocessedimfile -dbname gpc1 }}}
     103
     104=== Manually queue a burntool run ===
     105
     106This writes the burntool table and logfile into nebulous, and sets the database values as described above upon success.
     107
     108{{{ ipp_apply_burntool_single.pl --exp_id EXP_ID --class_id CLASS_ID --this_uri URI_FOR_EXP_ID --previous_uri URI_FOR_PREVIOUS_EXPOSURE --dbname gpc1 }}}
     109
     110=== Look at the status of burntool for each science survey ===
     111
     112{{{ nightly_science.pl --burntool_status --date YYYY-MM-DD }}}
     113
     114=== Check to see if stacks can be made ===
     115
     116{{{ nightly_science.pl --check_stacks --date YYYY-MM-DD }}}
     117{{{ nightly_science.pl --check_stacks --date YYYY-MM-DD --this_target_only MD99 --this_filter_only g.00000 }}}
     118{{{ nightly_science.pl --check_stacks --date YYYY-MM-DD --this_target_only MD99 --force_stack_count }}}
     119
     120=== Queue a set of stacks ===
     121
     122{{{ nightly_science.pl --queue_stacks --date YYYY-MM-DD }}}
     123
     124=== Check to see if diffs can be made ===
     125
     126{{{ nightly_science.pl --check_diffs --date YYYY-MM-DD }}}
     127{{{ nightly_science.pl --check_diffs --date YYYY-MM-DD --this_target_only MD99 --this_filter_only g.00000 }}}
     128
     129=== Queue a set of diffs ===
     130
     131{{{ nightly_science.pl --queue_diffs --date YYYY-MM-DD }}}
     132{{{ nightly_science.pl --queue_diffs --date YYYY-MM-DD --this_target_only MD99 --this_filter_only g.00000 }}}
     133
     134=== Clean old data ===
     135
     136{{{ nightly_science.pl --clean_old --date YYYY-MM-DD }}}
     137
     138=== Look at what data would be cleaned ===
     139
     140{{{ nightly_science.pl --clean_old --debug --date YYYY-MM-DD }}}
     141
     142
     143
     144
     145
     146
     147
     148
     149
     150
     151