Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.stsci.edu/spst/lrpg/mupid/createuscs-concept1.html
Дата изменения: Thu May 17 00:21:00 2001
Дата индексирования: Sat Mar 1 15:44:56 2014
Кодировка:

Поисковые слова: http www.sao.ru jet
USC Manager Tool Design Concept page

USC manager Tool Design Concept:

Overview:

This tools manages the creation and deletion of USC types, and the application and removal of USC's on visits.

Required Features:

This tool must have five major modes:

  1. 'Edit USC Type' mode that:

    1. accepts the following as inputs:
      1. the name of the USC (required input)
      2. a set of visit selection criteria (optional input)
      3. a list of windows (required input)
      4. the type of window (include, exclude)(required input)
      5. a descriptive comment for the USC (required input)
    2. Converts 'exclude' windows into 'include' windows for creating USC's
    3. Saves the inputs a user option for use in the 'apply' mode.

  2. 'Delete USC Type' mode that:

    Does as its name implies.

  3. 'Display USC Type' mode that:

    Displays predefined USC options and their parameter values.

  4. 'Apply USC' mode that:

    1. accepts the following as inputs:
      1. the name of the USC (new or existing user option) (required input)
      2. a list of visits (optional input)
      3. a list of windows (optional input)
      4. the type of window (include, exclude)(optional input)
      5. a descriptive comment for the USC (optional input)
    2. passes visit selection criteria to a TBD query tool and accept a visit list from that tool in return.
    3. inserts USC records into assist for each visit.

  5. 'Remove USC' mode that:

    accepts the following as inputs:
    1. the name of the USC
    2. a list of visits one of these two must be provided; both may be provided.

      if the USC name alone is provided, then the USC will be removed from all visits that have it.

      if a visit list is provided by itself, then all USCs for that visit will be removed.

Methods Required:

A set of methods to implement these requirements might include:

  1. One to do commandline argument processing to:
  2. One that passes a list of selection criteria to a TBD query function to generate a list of visits for USC creation
  3. One to convert input exclude windows into proper format for creating USC's (USC's are intersected with other constraints. Therefore, to exclude a region you must create windows that are suitable everywhere 'except' the exclude region.)
  4. One to insert the USC records into ASSIST.

Operational Prerequisites:

The query mechanism of the Data Access Task must be implemented in order for the visit selection criteria feature to work.

Operational scenarios:

Here's how this tool would work:

  1. If I want to create a new USC type:

    usc -edit LRP_LEONID_RES

    user is prompted for necessary parameters and values are stored for later use

    or

    usc -edit LRP_LEONID_RES {ra_low=121.4 ra_high=186.0 dec_low=-8.1 dec_high=51.9} "2001.314:00:00:00" "2001.328:00:00:00" exclude "Not allowed near the Leonids. --LRP"

  2. if I want to put this new usc on a visit

    usc -apply LRP_LEONID_RES {visit list}

    or (if the USC has selection criteria associated with it that I want applied to all visits that meet the criteria),

    usc -apply LRP_LEONID_RES

  3. if I don't know what the currently predefined USC's are:

    usc -display

  4. if I want to remove existing USC's:

    usc -remove {visit list}

    or

    usc -remove LRP_LEONID_RES

    (removes all LRP_LEONID_RES USC's)