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

Поисковые слова: aircraft
Python: module pass_script
 
 
pass_script (version 9/16/03)
index
pass_script.py

PURPOSE --
A module for generating PASS scripts.
 
DEVELOPER --
Greg Wenzel
 
MODIFICATION HISTORY --
 
o  initial implementation  GWW   07/06/00    
o  Redesigned from PASS_UTIL.  kwc 9/16/03

 
Modules
       
os
spss_sys_util
string
time_util

 
Classes
       
pass_script

 
class pass_script
    Generates a script for running PASS executables.
 
  Methods defined here:
__init__(self, script_name, pass_product_type=None, sw_version='op', vms=False)
Constructor.
Script name should always be using UNIX format since the 
 script will be created on UNIX.
PASS Software Version can be None if no PASS images are being
 used in this script.
PASS Product type is used to determine the order in which
 this script should be run if it is part of a set.
__str__(self)
Returns the full script as a string.
add_environ_line(self, environment_var, value, is_path=1, is_file=1)
Add an environment definition to self.environ_var_dict
add_run_PASS_image_line(self, image_name)
Run a PASS image in this script.
add_run_image_line(self, bin_dir, image_name)
Run a non-PASS image in this script.
add_script_line(self, script_lines)
Add a line to the script.
add_source_ascript_line(self, file)
Source another file within this script.
build_script(self)
Creates a new script in memory.
check_PASS_SW_version(self, sw_version)
Determines if this is a valid PASS Software Release and
trys to find the PASS environmental setup file.
echo_script(self)
Report a summary of the script.
format_environ_dict_lines(self)
Adds the envirionmental dictionary lines.
get_pass_product_type(self)
Returns the PASS product type for this script.
get_script_name(self)
Returns the script file name.
write_script(self)
Writes the script to the file self.script_name.

 
Data
        DATABASENAME = 'spss'
FALSE = 0
False = 0
MEGG_OUTPUT_DIRECTORY = '/data/scheduling/spss_flight_data/pass//megg/data'
MEGG_RMS_DIRECTORY = '/data/scheduling/spss_flight_data/pass//megg/rms'
MOSR_AREA = '/data/scheduling/spss_flight_data/pass//mosr'
MSCL_SCRATCH_DIR = '/data/scheduling/spss_flight_data/pass//workspace/mscl_scratch'
PASS_CL = '/data/scheduling/spss_flight_data/pass/cl'
PASS_CLIN_DIRECTORY = '/data/scheduling/spss_flight_data/pass//clin'
PASS_MS = '/data/scheduling/spss_flight_data/pass/ms'
PASS_MSIN_DIRECTORY = '/data/scheduling/spss_flight_data/pass/msin/'
PASS_MSOUT_DISK = '/data/scheduling/spss_flight_data/pass//'
PASS_SYSTEM = 'ops'
PASS_USER = 'planinst'
PDBMAN_DISK = '/data/scheduling/spss_flight_data/pass//'
TEMPLATE_LOGICAL_FILE = '/data/scheduling/spss_flight_data/pass//op_logicals/ops_job_logs.com'
TRUE = 1
True = 1
USER_CLBASE_DIRS = []
USER_CLCMD_DIRS = []
USER_CLSTART_DIRS = []
USER_CLTXT_DIRS = []
USER_MSBASE_DIRS = []
USER_MSCIN_DIRS = []
USER_PRD_DIRS = []
VMS_PASSOPS = '/dev/null'
XFER_SCRATCH_DIR = '/data/scheduling/spss_flight_data/pass//workspace/xfer_scratch'
__version__ = '9/16/03'
false = 0
true = 1