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

Поисковые слова: п п п п п п п п п п п п п п п п п п п п п п п п п
Python: module find_intercept_times
 
 
find_intercept_times (version 15.05.26)
index
find_intercept_times.py

PURPOSE --
A tool to find/check intercept times for a given sms week.
 
DEVELOPER --
Don Chance
 
MODIFICATION HISTORY --
 
o  initial implementation  GWW   10/26/00
o  add local times.  drc 5/24/06
o  completely reworked. drc 5/10/13
o  more changes drc 6/4/13
o  PR 76744 - fixed min_uplink_window allowed option. wmw 12/19/13
o  code cleanup drc 12/15/14
o  detect when calendar is not on baseline.
o  create report of intercept time for each main SU on calendar. 5/21/15
o  use prev_su beg_tim as input to find_itime rather than prev_su end_tim 5/26/15

 
Modules
       
calendar_util
configure_util
glob
os
pass_util
sms_util
spc_util
spss_sys_util
spst_getopt
su_util
sys
tdrs_util
time_util

 
Functions
       
check_ncc_downtime(start, end, config)
Check to see if the time during which PASS processing will be ongoing, intersects
with the daily NCC downtime.
check_time(t, stage, config)
find_all_itimes(mscl, config)
Find the latest intercept time (modulo 5 minutes) for each SU on a calendar.
find_itime(atime, hga_track_windows, config, slew_list=[], silent=False)
Find a good intercept time after atime.
find_maps(itime, mscl)
Find the map files that intersect itime.
get_hgatrack_windows(mscl)
Return a windows list of time where both HGAs are tracking.
get_prev_su(config)
Find the previous main SU on the calendar.
intercept_time_spcs(itime, mscl, cl, config)
Find the SPCs that intersect a particular intercept time.
maps_to_spcs(imaps, clout)
output_milestones(load_time, config)
Create a string containing the various milestones of producing an intercept SMS.
parse_inputs(args)
run(*args)
Creates a report of deadlines and possible command timeline intercept
       times.
 
       WARNING: Map files will be overwritten.
 
       USAGE --
 
       do  find_intercept_times [optional arguments]
 
       optional arguments:
 
       -config=<path>              input configuration file path
       -prep_time=<t>              time to allow for calendar prep (in seconds)
       -ccs_review_time=<t>        where <t> is the time ccs needs for review in seconds.
       -distribution_time=<t>      where <t> is the time it takes to distribute PASS
                                     products in seconds.
       -pass_time=<t>              where <t> is the time it takes to run and check PASS
                                    products in seconds.
       -sms_time=<t>              where <t> is the time it takes to generate the sms
                                    products in seconds.
       -calendar_build_time=<t>   where <t> is the time it takes to rework the calendar
                                    in seconds.
       -start=<t>                 where <t> is the time at which calendar rework is assumed
                                    to have started in spss time format YYYY.DDD:HH:MM:SS.
                                    Defaults to the current time
       -intercept_times=<list>    a comma separated list of potential intercept times
       -first_change_times=<list> a comma separated list of times when the first SMS difference
                                    may occur
       -calendar_name=<calname>   the name of the calendar/SMS being intercepted. Required.
       -su=<sunit_id>             the first changed SU.  The tool will find an intercept time
                                    based on this being the first changed SU.
       -nssc_uplinks=<i>          the minimum number of required NSSC uplinks for the changed
                                     NSSC command load
       -486_uplinks=<i>           the minimum number of required 486 uplinks for the changed
                                    486 command load
       -verbose                   produce lots more output
       -min_uplink_window=<t>     the minimum time to allow for the command loads in seconds.
       -ncc_dowtime_dur=<t>       the time to allow for daily NCC downtime in seconds.
       -change_to_intercept_time=<t> the minimum time to allow between the first change on the
                                     calendar and the intercept time
       -output=<path>             file path where the output will be sent.
       -pass_sms_id=<passname>    the PASS SMS name. Required if the calendar is not on the
                                      baseline.  Otherwise, it is not needed, the tool will
                                      find the PASS SMS name itself.
 
If an input is not specified on the command line, it's value will be determined by the config file.
The default config file is $PE_DAT/find_intercept_times.cfg.

 
Data
        __version__ = '15.05.26'