Документ взят из кэша поисковой машины. Адрес оригинального документа : http://jet.sao.ru/hq/vch/Publications/Eng/html/adbis97/node7.html
Дата изменения: Unknown
Дата индексирования: Tue Oct 2 10:14:46 2012
Кодировка:

Поисковые слова: ngc 6559
Access via e-mail



next up previous
Next: Summary and future Up: Further advance in the Previous: Context search

Access via e-mail

The e-mail interface of the CATS is designed like CGI for the call of the basic procedures: select and match from the html-forms and the program is a lexical analyser, distinguishing keywords and parameters from the electronic letter sent to the address `cats@sao.ru'. To obtain instruction about operations via the mail-server the user can send a letter to this address with a single string: 'help'.

The majority of parameters, distinguishing by the analyser for the requested procedures are reported via environment variables, and long lists via temporal files. The output of result is forseen in the same formats as in other forms of the access to the CATS. They are usual the table format, the FITS TABLE format, PostsScript for figures, both in compressed or non-compressed forms. A binary format of output data (when compression) is transformed to ASCII by one of the standard UNIX convertors by user request: uuencode, mime or ship; and sent to the user's address with the operations report. There is a possibility to sent a maximum size of a letter to be replied. When errors occur, the report consits of protocol of analyser operations and instructions with rules of the CATS e-mail accsess use. To escape cycling of letters, when illegal return addresses are set, or impossibility of reply delivering, the processing of requests from users with names uucp, root, daemon, etc. is not produced. The main problem appearing in the functional expanse of this kind of the interface is the support of automatical including of new catalogs and data, which are sent by users. Probably we will add new commands and descriptions, providing these possibilities, to the standard set. Here is an example of some e-mail forms, which may be sent to the CATS address for lexical analysis to the end of this year:

  1. type of search:
    cats <arg>
    select, match[ing],end (stop,finish)

  2. type of result output:
    out[put] <arg1 arg2...>
    compress, gzip, table, fits, ps, nocompress, nogzip, nozip, ship, uuencode

  3. epoch of coordinates:
    epoch <arg>
    (value)

  4. catalogs:
    catalog[s,ues] <arg1> <arg2>...
    all, radio, objects, x-ray, x, xray, infra-red, infra, infrared,...

  5. right asscension limits:
    ra [<arg1>] <arg2> <arg3> ...
    min max [center]

    possible format values: 12d35m54 or 12 35 54 or 12:35:54

  6. declination limits:
    dec [<arg1>] <arg2> <arg3> ...
    min max [center]

    possible format values: 12d35m54 or 12 35 54 or 12:35:54

  7. Galactic longitude limits:
    glon [<arg1>] <arg2> <arg3> ...
    min max [center]

    possible format values: 12d35m54 or 12 35 54 or 12:35:54

  8. Galactic latitude limits:
    glat [<arg1>] <arg2> <arg3> ...
    min max [center]

    possible format values: 12d35m54 or 12 35 54 or 12:35:54

  9. spectral index limits:
    spi [<arg1>] <arg2>
    min max [center] (value)

  10. frequency limits:
    freq [<arg1>] <arg2>
    min max [center] (value)

  11. flux density limits:
    fd [<arg1>] <arg2>
    min max [center] (value)

  12. window of search:
    window <arg1 arg2 ...>
    value,arcsec,arcmin,box

  13. source[s:] <cr>

    <arg1 arg2... >
    <arg1 arg2... >
    <arg1 arg2... >

    object_name_1 12h35m54.2s 13d47m15 1950
    object_name_2 12 35 54 13 47 15 1950
    ...
    object_name_n 12:35:54 13:47:15 2000

The analysis of commands starts from the keyword ` cats' at the beginning of a line and till the command ` cats end'. Each line starts from a command or a simbol '%', defining a comment. Each line can contain several commands with their arguments. Exception to the rule is the command of beginning of a table of sources parameters. This command must be the last or single in a line. The separators of all arguments (excluding sources table) are space[s], tabulation, comma, <cr>.

Similarly, the table of sources is completed by a line starting with every valid command. Therefore, it is forbidden to use a consequence of symbols, forming a standard command, as a name prefix of a source inside of a table.

The default search window is a circle. If the parameter ' box' is set after comma, the seach will be in an error box. The units of circle radius or box side can be arcsec (default), or arcmin, or ', or ".

The formats of window radius can be following:
window box 15sec 3' - box of 12s x 3'
window box 3' - box of 3' x 3'
window circle 3' - circle with radius of 3'
window ellipse x=15sec,y=3' - ellipse 12s x 3'

All letters can be written in the upper or lower registers.

All detailed instructions can be requested by the address 'cats@ratan.sao.ru' near at the middle of this year.



next up previous
Next: Summary and future Up: Further advance in the Previous: Context search



Vladimir Chernenkov
Tue Jun 17 12:02:11 MSD 1997