| | 48 | Other modes: |
| | 49 | |
| | 50 | {{{automate_stacks.pl --date YYYY-MM-DD --check_detrends}}} |
| | 51 | |
| | 52 | {{{automate_stacks.pl --date YYYY-MM-DD --queue_detrends}}} |
| | 53 | |
| | 54 | Check 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 | |
| | 60 | Check 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 | |
| | 66 | Check and queue old data cleanup based on the rules defined in the configuration file. |
| | 67 | |
| | 69 | |
| | 70 | The configuration file defines the parameters for four different components: |
| | 71 | |
| | 72 | === FILTERS === |
| | 73 | |
| | 74 | This is a simple MULTI metadata object containing the strings of all filters defined. |
| | 75 | |
| | 76 | === CLEAN_MODES === |
| | 77 | |
| | 78 | These 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 === |
| 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. |
| | 102 | Nightly 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. || |