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

Поисковые слова: вечный календарь
Python: module dss_query_by_obset
 
 
dss_query_by_obset (version 15.10.14)
index
dss_query_by_obset.py

PURPOSE --
Create an HTML page containing all the dss images of the unique 
guide stars of the requested obsets requested.  This page will be 
displayable in any modern web browser on any platform.
 
DEVELOPER --
Merle Reinhart
 
MODIFICATION HISTORY --
 
o Initial implementation 09/07/07
o Update the doc string. mdr 9/20/07
o Include the check for LOW priority stars. mdr 9/28/07
o add hash-bang to start of file to allow being executed as a command. drc 3/25/12
o Fix gs query to ignore bad AND turned off guide stars.  mdr 1/17/13
o Add the option to specify which DSS plate scan to use.  mdr 11/07/13
o Fix she-bang line for multi-platform compatibility.  mdr 10/14/15

 
Functions
       
construct_dss_html(gs_data, title_string, image_size, overlay, scan_search, output_file)
This routine will take the input data and write out the html for the 
DSS query webpage.
get_obset_gs(obset_id)
Queries database for guide stars from wguide_stars
Returns a list of dictionaries of the guide star data for that obset.
  obset_id    = "ppppp:oo:vv"
run(*args)
Create an HTML page containing all the dss images of the unique
guide stars of the requested obsets.  This page will be 
displayable in any modern web browser on any platform.
 
Usage:
do dss_query_by_obset obset_list output_file
                      [-image_size=<2|3|4|5>]  arcminutes/side
                      [-overlay=<0|1>]  1=show search radii overlay
                                        0=don't
                      [-dss_scan=<gsc1|gsc2|ir|red|blue|
                                  poss1_red|poss1_blue|quickv>]
                                    default is gsc2
                                        
   obset_list may be a single obset_id of the form ppppp:oo:vv
              or a comma-separated list of obset_ids
              or %filename where each line of the file is an obset_id
              
   output_file is the name of the file to write the html output to
              This file should then be loaded into your web browser
              of choice for display

 
Data
        __version__ = '15.10.14'