Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.sao.ru/fetch/HL/advanced.html
Дата изменения: Mon Dec 23 18:24:02 2013
Дата индексирования: Fri Feb 28 01:46:48 2014
Кодировка:
Поисковые слова: п п п п р п р р п п р п
|
|
Advanced User Guide |
|
The http front-end is coded
with HTML 4.0 and Javascript
1.2 and is tested with Netscape 4.0 and IE 4.
Note that for requests returning large volume of data or for multiple
and repetitive requests it may be more convenient to access HyperLeda
from a script, for example using wget, than from a web
browser
(the data may overflow its memory).
The http requests are issued with the GET method, as:
http://leda.univ-lyon1.fr/fG.cgi?n=1&c=o&o=NGC3379
fG.cgi is the name of the request
Before is the root URL
After ? are the parameters, separated with &
characters
Each parameter consists in a pair: (parameter's name; value)
Main requests
fG.cgi: Make the frame, load Javascript and issue the G.cgi
request
G.cgi: Get data from the catalogues. If you use HyperLeda
without a browser, eg. with wget, you will probably choose
this request instead of the previous one (the parameters
are strictly similar).
Other requests are also used, in
particular for the graphic outputs,
but
they may be integrated to G.cgi and fG.cgi in the
future.
Main parameters
A query to HyperLeda is composed in five elements (1) the type of
request, (2) the selection in HyperLeda master index, (2) filtering
according to some parameters, (4) action performed on the extracted
data (pipeline) and (5) output formatting. The corresponding parameters
are:
- Type of query
- c=: Type of request. The main types of queries are:
- o, data query for an object (by designation,
cone search...)
- b, bibliographic query
- p, parameter query
- i, access to FITS data
- Selection in HyperLeda
- n=: Number of the catalogue
- o=: Object designation
- s=: Sample identifier
- Filtering
- b=: Dataset identification, or bibcode
-
Output formatting
- a=: Format of output,
takes the values h, t, g for respectively
html (hypertext), plain text or
gif. Or a mime-type specifier for FITS output