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

Will create a GAQ record from the default values or will delete the GAQ
records.
 
TITLE:      create_gaq.py
DEVELOPER:  Merle Reinhart, 19-Jun-2000
 
PURPOSE:    Creates a default GAQ record for the specified obsets or
            deletes all the GAQ records for the specified obsets or
            deletes or resets the SPECIAL GAQ records for the specified
            obsets.
 
USAGE:      do create_gaq <obsets> <mode> [<type>]
             where <obsets>     is either a comma separated list of obsets 
                                in ppppp:oo:vv format or a filename that
                                contains a list of obsets in ppppp:oo:vv 
                                format with one obset per record.  To 
                                indicate a file input, this parameter must 
                                start with either a ~ (on VMS) or a %
                                (on Unix).
                   <mode>       C or D (Create or Delete)
                   <type>       is an optional parameter than may be either
                                NORMAL or SPECIAL.  NORMAL will delete all
                                the GAQ records while SPECIAL will delete
                                or modify only the SPECIAL GAQ records.
 
RETURNS:    Nothing
 
MOD HISTORY:

 
Functions
       
create_record(proposal_id=None, obset_id=None, version_num=None, gaq_type=None)
This function will create a new default GAQ record.
delete_record(proposal_id=None, obset_id=None, version_num=None, gaq_type=None)
This function will delete all the existing GAQ records if gaq_type
is NORMAL.  If gaq_type is SPECIAL it will delete the GAQ record if
it is a default record, otherwise, it will change it into a NORMAL
GAQ record.
run(input_data=None, gaq_mode=None, gaq_type='NORMAL')
Either creates or deletes GAQ records for the specified obsets.