Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.stsci.edu/spst/UnixTransition/doc/checklist.html
Дата изменения: Fri Apr 8 12:46:14 2016
Дата индексирования: Sun Apr 10 23:45:34 2016
Кодировка:
Python: module checklist
 
 
checklist (version 15.07.02)
index
checklist.py

PURPOSE --
This module calls a series of tools used in calendar/SMS checklisting.
 
DEVELOPER --
Don Chance
 
MODIFICATION HISTORY --
 
o Initial implementation 3/17/00
o Modified for python 2.2 compatibility. dc 5/28/03
o Make -i=gui the default.  dc 10/29/03
o Add an option to not load the pickle file. drc 10/14/09
o Updated for PASS checklist. drc 6/18/14
o fix pickle naming. drc 7/2/15

 
Modules
       
cPickle
calendar_util
ccl_util
db_util
file_util
os
re
sms_util
spss_sys_util
spst_getopt
stpydb
string
sys
time_util

 
Functions
       
run(*args)
Run the calendar/SMS/PASS checklist.
 
Usage:
do checklist calendar_or_sms_name [-p=previous_calendar] [-i=cl|gui] [-t=cal|sms|pass] [-nopickle]
 
The previous calendar defaults to the continuity calendar from the global
baseline or None if there is no continuity calendar.  The previous calendar
can be forced to be None by entering '-p=none'. 
 
The -i option tells the script whether to run in command line mode (cl) or
to in graphical mode (gui).  The default is gui.
 
The -t option tells the script whether you want to run an PASS, SMS or calendar (cal)
checklist.  The default is calendar.
 
The -nopickle option causes the pickle file which stores the results of previous runs of the
checklist on the input calendar or sms to not be loaded.
 
WARNING: This script will overwrite your map files.

 
Data
        CAL_LEAD_TIME = 950400
EPHEM_DUR = 6048000
EPHEM_LEAD_TIME = 1209600
FAIL = -1
PASS = 1
UNKNOWN = 0
__version__ = '15.07.02'
assist_db = 'assist'
sogs_db = 'spss'