Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.stsci.edu/spst/UnixTransition/doc/notify_ncc_comcons.html
Дата изменения: Fri Apr 8 12:46:15 2016
Дата индексирования: Mon Apr 11 05:14:47 2016
Кодировка:
Python: module notify_ncc_comcons
 
 
notify_ncc_comcons (version 2/11/02)
index
notify_ncc_comcons.py

PURPOSE --
Sends NCC a mail message listing the COMCONs for a given SMS to hopefully
avoid having TDRS shortfalls over the time periods for COMCONs.
 
Based on NOTIFY_NCC_COMCONS.COM and COMCON_SMS_PARSE.FOR
 
DEVELOPER --
Gary Bower
 
MODIFICATION HISTORY --
 
o Initial implementation 12/21/01
o Include modifications from Python review - G. Bower 1/16/02
o Include more modifications from Python review. - G. Bower 2/11/02
  - SMS version number is not required in input.
  - Define the function sms_parse_comcon.
  - Use calendar_util to parse the calendar display.
o Allow email distribution list              APP  07/28/04

 
Modules
       
calendar_util
ccl_util
os
re
sms_util
spss_sys_util
string
time_util

 
Functions
       
run(sms_id_root=None)
Parse an SMS, searching for the occurrence of COMCON commands.
Make a list of them, and send e-mail to NCC.
 
Usage:
do notify_ncc_comcons <sms_id_root> 
 
sms_id_root must be a valid SMS id. File extension and version number should not
be included in the input.
sms_parse_comcon(path_sms=None)

 
Data
        __version__ = '2/11/02'