Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.stsci.edu/spst/UnixTransition/doc/schedman.html
Дата изменения: Fri Apr 8 12:46:15 2016
Дата индексирования: Sun Apr 10 23:12:37 2016
Кодировка:

Поисковые слова: столовая гора
Python: module schedman
 
 
schedman (version 15.04.13)
index
schedman.py

PURPOSE --
A module for generating the pass tdrs schedules
 
DEVELOPER --
Greg Wenzel
 
MODIFICATION HISTORY --
 
o  initial implementation  GWW   04/17/02
o  Modified to accomodate changes to sched_util.  drc 4/23/03
o  Modified to accomodate changes to configure_util.  gww & drc 8/13/03
o  Modified for new pickle format. GWW 10/29/03
o  readded pick_a_pickle for non batch runs GWW 11/03/03
o  compare cfm files by modification time. drc 1/03/05
o  add the intercept option. drc 4/12/06
o  add running of tdrs_lis_check. drc 5/25/06
o  modified for archiving cfm and log files. drc 3/26/12
o  updated pickle comment; code cleanup. drc 4/13/15

 
Modules
       
archive_util
configure_util
os
pass_util
sched_util
shutil
spss_sys_util
spst_getopt
sys

 
Functions
       
cfm_cmp(file1, file2)
Use this function to compare cfm files based on their modification times
clean_cfmfiles(keep_num=5)
remove old cfm files keeping keep_num
get_cfmfile(batch=False)
Gets the latest CFM file for tdrs schedule generation input.
get_pickle_from_mscl(run_name)
gets pickle for update mode. helps select proper
history schedule for intercept run.
run(*args)
Tdrs schedule generation tool.
 
Usage:
do schedman      [-option=<replace> or <update>]
                 [-intercept=<pass run name>]
                 [-software_version= <version>]
                 [-batch]
                 [-verbose]
 
-intercept=<pass run name (example: sa123p00)
-option= replace creates a new schedule file with contents of input cfm.
-option= update  creates a new schedule file with contents of input cfm 
               updating the overlapping portion of the old schedule file.
 
-software_version= <version> defaults to 'ops' , others are 'old','new'
-batch          make all file and cms/pickle selections automatically.
-verbose        write debuging info to screen

 
Data
        ADD_PASS_ARCHIVE_DIR = '/data/scheduling/spss_flight_data/pass/archive/add'
PASS_ARCHIVE_DIR = '/data/scheduling/spss_flight_data/pass/archive'
PASS_TO_SPUNIX_DIR = '/data/scheduling/spss_flight_data/pass/tospunix'
__version__ = '15.04.13'