|
Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.stsci.edu/spst/lrpg/mupid/createuscs-concept1.html
Дата изменения: Thu May 17 00:21:00 2001 Дата индексирования: Sat Mar 1 15:44:56 2014 Кодировка: Поисковые слова: asteroid |
This tools manages the creation and deletion of USC types, and the application and removal of USC's on visits.
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.
A set of methods to implement these requirements might include:
if USC type exists,
generate a message that states the USC type already exists and
query user to see if parameters are to be updated
if yes,
prompt for values
else
exit
elseif USC type does not exist,
query user for more input.
If only a USC name is given,
look for an existing user option with that name and use those parameters.
if one does not exist,
query for user input.
(note: selection criteria are not accepted in this mode. A visit list
must be provided if the USC type does not already exist.)
Here's how this tool would work:
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"
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
usc -display
usc -remove {visit list}
or
usc -remove LRP_LEONID_RES
(removes all LRP_LEONID_RES USC's)