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

Produces a report of the desired contents of the pass_catalog relation.
 
TITLE:      passcat_report.py
DEVELOPER:  Merle Reinhart,  1-Aug-2002
 
PURPOSE:    To produce a human readable report of the contents of the
            pass_catalog relation.
 
USAGE:      do passcat_report [-file=<value>] [-type=<value>]
                              [-passid=<value>] [-since=<value>]
                              [-before=<value>] [-convert_cat_time]
                              [-output=<value>]
             where -file=<value>  : This switch allows one to query for
                                    a particular cataloged filename.
                                    Standard SQL wildcards are allowed.
                   -type=<value>  : This switch allows one to query for
                                    a particular file type.  Current
                                    values are MS, MTL and TDRS.
                                    Standard SQL wildcards are allowed.
                   -passid=<value> : This switch allows one to query for
                                     a particular pass id of the form
                                     Sadddypr.  Standard SQL wildcards
                                     are allowed.
                   -since=<value> : This switch allows one to query for
                                    any products cataloged since a
                                    particular time of the form
                                    yyyy.ddd[:hh:mm:ss.ccc]
                   -before=<value> : This switch allows one to query for
                                     any products cataloged before a
                                     particular time of the form
                                     yyyy.ddd[:hh:mm:ss.ccc]
                   -convert_cat_time : This switch allows one to convert
                                       the format of the cataloged time 
                                       to include the day of the week.
                   -output=<value> : This switch allows one to write the
                                     output to the filename of choice.
                                     The default name is passcat_report.rpt.
                                     Output may be routed to the screen
                                     by using a value of 'tt:' on VMS or
                                     '/dev/tty' on Unix.
 
RETURNS:    completion status
 
MOD HISTORY:
1/16/03 drc allow passid to be lower case.
1/13/09 gab add -convert_cat_time option.

 
Functions
       
run(*args)
This routine produces a report of the pass_catalog relation.