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

PURPOSE --
Create an HTML page containing all the dss images of the selected or 
selectable guide stars of the requested obsets scheduled on the 
calendar.  This page will be displayable in any modern web browser 
on any platform.
 
DEVELOPER --
Merle Reinhart
 
MODIFICATION HISTORY --
 
o Initial implementation 03/03/07
o Add search radius overlay to images - mdr 06/26/07
o Add check for Solar System Objects close to search radius - mdr 5/19/14
o Fix a ccl structure initialization bug - mdr 6/06/14

 
Functions
       
check_for_ssos(acq_data, HST_Altitude)
Checks for Solar System Objects near the guide stars
compute_body_info(body, parent_body, acq_time, acq, HST_Altitude)
Compute the various information/distances between the guide stars
and the specified solar system body for the specified gsacq.
construct_dss_html(gs_data, title_string, image_size, overlay, output_file)
This routine will take the input data and write out the html for the 
DSS query webpage.
get_cal_acqs(calendar_id, obset_list, get_cal)
Returns the obset_id and start times for acqs/reacqs
on the specified calendar.
calendar_id = "yydddlsv"
Also returns the HST altitude in kilometers.
get_gs_from_cal(obset_id, calendar_id, selected_fl)
Queries database for guide stars from qbgsp_select
obset_id    = "ppppp:oo:vv"
calendar_id = "yydddlsv"
selected_fl = 1 = selected
              0 = selectable
run(*args)
Create an HTML page containing all the dss images of the selected or 
selectable guide stars of the requested obsets scheduled on the 
calendar.  This page will be displayable in any modern web browser 
on any platform.
 
Usage:
do dss_query_by_calendar cal_name output_file
                         [-obs_list=<ALL|%file|list>]
                         [-sel_flag=<0|1>]  0=Selectable, 1=Selected
                         [-image_size=<2|3|4|5>]  arcminutes/side
                         [-get_cal=<0|1>]  1=get, 0=don't
                         [-overlay=<0|1>]  1=show search radii overlay
                                           0=don't

 
Data
        __version__ = '6/06/14'