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

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

PURPOSE --
 
This tool provides data/report files and modifies the state of a safed calendar,
calendar baseline, and observation records of the safed calendar to reflect the
impact of the safing event and facilitate H&S and recovery calendar building:
 # Step 1.     Get the safing time from the user
 # Step 2.     Get the list of baselined calendars from the safing time on
 # Step 3.     Generate a list of the unexecuted SUs on the safed caledar
 # Step 4.     Generate a list of the SUs executing at the time of the safing
 # Step 5.     Report the state of the NSSC-1 vector table (future capability)
 # Step 6.     Create a calendar that includes just the executed SUs
 # Step 7.     Remove the safed and all future calendars from baseline from latest to earliest.
 # Step 8.     Add the B calendar to the baseline.
 # Step 9.     Run ccl_gsselect, then copy GS's from the safed calendar to the B calendar
 # Step 10.    Run return_snaps on the B calendar.
 # Step 11.    Delete observation records
 # Step 12.    Output a summary of this run
 
DEVELOPER --
 
William Workman - modified the original tool developed by Dave Adler.
 
MODIFICATION HISTORY --
 
o Initial implementation                         02/26/01 DSA.
o Added some features, expanded others, added
  more comments.                                 03/30/01 DSA.
o Fix observation record check                   07/07/04 DC.
o Modified for use with new su_util.su class      9/30/04 DC.
o remove override from baseline                   1/29/07 DC
o Refactored/restructured for current process.    5/31/13 WMW
o code cleanup; don't close DB connections       10/20/15 DC.
 
USAGE --
 
do hands_helper

 
Modules
       
calendar_util
ccl_gsselect
ccl_util
copy
obset_util
posixpath
re
return_snaps
spss_sys_util
stpydb
string
su_util
sys
time_util

 
Functions
       
create_truncated_bcal(safing_time, safed_cal, unexecuted_sus_filename)
del_obsrecs(future_cals, safed_cal, safing_time, unexecuted_sus_filename)
get_active_slots()
create a listing of the currently active offset slots (wistat_offset).
get_baselined_cals(safing_time=None)
Get the list of baselined calendars from the safed calendar and later.
get_executing_sus(safing_time, safed_cal)
Generate a list of all SU's from the safed calendar that were executing at
the time of the safing.
get_safing_time(safing_time=None)
get_unexecuted_sus(safing_time, safed_cal)
Generate a list of all SU's on the safed calendar that were 'not executed'
proceed(safing_time, safed_cal, future_cals, unexecuted_sus_filename, executing_sus_filename, b_cal=None)
run(safing_time=None)
summary(safing_time, safed_cal, future_cals, unexecuted_filename, executing_filename, b_cal=None, obsrecs_deleted_filename=None, obsrecs_notdeleted_filename=None)

 
Data
        __version__ = '15.10.20'