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

Поисковые слова: http astrokuban.info astrokuban
Python: module enter_bo_waiver
 
 
enter_bo_waiver
index
enter_bo_waiver.py

PURPOSE --
This tool will populate wgbo_waiver with the provided data.
 
This tool was developed from ENTER_BO_WAIVER.COM,
WATCH_FOR_WAIVERS.COM, and ENTER_BO_WAIVER.SQL all written by Merle.
 
DEVELOPER --
Don Chance
 
MODIFICATION HISTORY --
Initial implementation  7/23/01

 
Modules
       
bo_status_by_ccl
obset_util
os
shutil
spss_sys_util
string
time
time_util

 
Functions
       
check_fields(waiver)
Sanity check the fields in the input waiver.
get_fields_from_file(filename)
Get the bright object info from a file.
 
Returns a list of lists.
run(*args)
Populate wgbo_waiver with bright object data.
 
Usage:
     do enter_bo_waiver %<filename>|<obset_id>|batch
                         [<alert_id>]
                         [<macro_aper>]
                         [name]
                         [date]
 
     The first parameter may be either a percent sign followed by
     a file path, an obset id (ppppp:oo:vv), or the string 'batch'.
     The second parameter is the alert id. The third parameter is
     the macro aperture name.  The second and third parameters are
     required when obset_id is the first parameter.  Name is your
     name and defaults to the value of the environment variable
     MYNAME.  The last parameter is the date (dd-mmm-yyyy) and
     defaults to the current date.
 
     When the first parameter is the string 'batch', the directory
     WAIVERS_TRANSFER_DIR is searched for files matching 'bo*.waivers'.
     Any matching files are processed for bright object data.