IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 6 and Version 7 of NightlyScienceCode


Ignore:
Timestamp:
Jul 2, 2010, 2:33:22 PM (16 years ago)
Author:
watersc1
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NightlyScienceCode

    v6 v7  
    4646Both chip and stack mode options support the --this_target_only and --this_filter_only which allow a specific target or filter to be queued without checking the rest.  This is safe because previously queued runs will not be duplicated.
    4747
     48Other modes:
     49
     50{{{automate_stacks.pl --date YYYY-MM-DD --check_detrends}}}
     51
     52{{{automate_stacks.pl --date YYYY-MM-DD --queue_detrends}}}
     53
     54Check and queue detrend verify runs based on the types of detrends defined in the config file.
     55
     56{{{automate_stacks.pl --date YYYY-MM-DD --check_dqstats}}}
     57
     58{{{automate_stacks.pl --date YYYY-MM-DD --queue_dqstats}}}
     59
     60Check and queue dqstats runs to bundle image statistics for the IPP-OTIS interface.
     61
     62{{{automate_stacks.pl --date YYYY-MM-DD --clean_old --debug}}}
     63
     64{{{automate_stacks.pl --date YYYY-MM-DD --clean_old}}}
     65
     66Check and queue old data cleanup based on the rules defined in the configuration file.
     67
    4868== automate_stacks.pl config file ==
     69
     70The configuration file defines the parameters for four different components:
     71
     72=== FILTERS ===
     73
     74This is a simple MULTI metadata object containing the strings of all filters defined.
     75
     76=== CLEAN_MODES ===
     77
     78These define control how data from different stages is cleaned.  The parameters are:
     79
     80|| MODE || STR || Mode name being cleaned. Used to index the methods, and to allow overrides (see below). ||
     81|| COMMAND || STR || Command used to queue the data for cleanup. ||
     82|| RETENTION_TIME || S16 || Number of days to retain data before cleanup. Values less than one day disable cleaning for that target. ||
     83|| ALTERNATE_CMD || STR || Used to mark the format of the options for the cleanup command.||
     84||               || A || -dbname $dbname -updaterun -set_state goto_cleaned -full -set_label goto_cleaned -time_stamp_end $cleaning_date ||
     85||               || B || -dbname $dbname -updaterun -set_state goto_cleaned -state full -set_label goto_cleaned -label $label ||
     86||               || NULL|| -dbname $dbname -updaterun -set_state goto_cleaned -state full -set_label goto_cleaned -label $label -data_group $data_group ||
     87
     88=== TARGETS ===
    4989
    5090Each target in ippconfig/recipes/nightly_science.config has the following parameters:
     
    5696|| COMMENT || STR || comment from rawExp. Also a LIKE search. ||
    5797|| STACKABLE || BOOL || This flag determines whether or not nightly stacks can be made of this target. ||
     98|| CLEAN_MODE || S16 || Using the clean mode names defined in the CLEAN_MODE section, an alternate retention time can be specified for this target/mode combination.||
    5899
    59 The known filters are also stored in this file, although this is only used while queueing stacks.
     100=== DETRENDS ===
    60101
    61 The RETENTION_TIME value stores the number of days data should be stored before being marked for cleanup.  This is commented out (it is part of ns.initday.load), but is fully implemented.
     102Nightly detrend verification runs are controlled by the following parameters:
     103
     104|| NAME || STR || Detrend name. ||
     105|| DETTYPE || STR || Value of the det_type column in the rawExp table to select on. ||
     106|| EXPTYPE || STR || Value of the exp_type column in the rawExp table to select on. ||
     107|| REF_ID  || S64 || det_id of the reference detrend to verify against. ||
     108|| REF_ITER|| S32 || iteration of the reference detrend to verify against. ||
     109|| FILTER  || STR || Optional filter to select on.||
     110|| MAX     || S32 || Optional maximum number of detrend frames to use in this verify run. ||