Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.stsci.edu/spst/UnixTransition/doc/mon_eff_files.html
Дата изменения: Fri Apr 8 12:46:15 2016
Дата индексирования: Mon Apr 11 02:46:51 2016
Кодировка:
Python: module mon_eff_files
 
 
mon_eff_files (version 15.10.14)
index
mon_eff_files.py

PURPOSE --
Check for the existence of newly created efficiency file products and
distribute them
 
DEVELOPER --
Alan Patterson
 
MODIFICATION HISTORY --
 
Initial implementation                      app 04/22/03
Mods from Python review                     app 05/12/03
Corrected file check                        app 05/30/03
Mods to accommodate stretched COM variable  app 10/23/03
Mods for new met_util                       app 11/07/03
Update to current python2.2.3 executable    app 01/22/04
Updated for python 2.4.1                    drc 08/17/05
Modified for SGE 6                          drc 05/08/07
Fixed typo in import from batch_util        gab 05/16/07
Fix embedded she-bang line in output script mdr 10/14/15

 
Modules
       
distrib_effdata
file_util
met_util
os
spss_sys_util
spst_getopt
string
sys
time
time_util

 
Functions
       
found_count(fdict)
Counts the integer values in the dictionary
make_unix_comfile(a_com)
run(*args)
Checks for the existence of the three standard metrics for efficiency
and distributes them if their creation time is after the start of this
tool
 
Usage:
   do mon_eff_files [-testfile=<name>] [-mail=<user>] [-submit]
                      where     -testfile=<name> checks for file <name>
                                         in the $METRICS_DIR/tmp dir
                                         rather than the efficiency files
                                -mail=<user>  causes informational mail
                                         messages to be sent to <user>
                                         at completion
                                -submit  causes this tool to be submitted
                                         to an spst Unix batch queue
submit(testfile=None, mailto=None)
Submit the mon_eff_files job to a Unix queue

 
Data
        CHECK_TIME = 7200.0
LOOP_TIME = 120.0
MET_DIR = '/data/scheduling/spss_flight_data//planinst/metrics/'
SPSS_QUEUE = 'spst.q'
__author__ = 'Alan Patterson'
__version__ = '15.10.14'

 
Author
        Alan Patterson