Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.stsci.edu/spst/lrpg/documentation/procedures/lrpg_cycle9_lrp_build.html
Дата изменения: Tue May 23 23:59:40 2000 Дата индексирования: Sun Mar 2 10:03:04 2014 Кодировка: Поисковые слова: comet tail |
A memo from the planning team needs to be drafted for the OPT and HOD management for purposes of defining what resources will be available and what likely consequences follow from restrictions within the LRP and know restrictions which may impact operations.
With the following SQL queries modified or created:
Many more will need to be modified (especially reports) before Cycle 10 because the reports will need to be updated for ACS fields. Plot tools will need to be modified to include ACS SBC. For example, the STIS/MAMA plots will need to evolve to 3 different plots: STIS/MAMA, ACS/SBC, and STIS & ACS MAMAs. Tracking the number of orbits of STIS/MAMA+ACS/SBC will become the important measure instead of just STIS/MAMAs. Another issue looming on the horizon is rollover from 4-digit prop numbers to 5-digit prop numbers.
A number of python and lisp scripts were created on the unix side.
ringworld
crontab needs to be activated and the query within
it needs to be updated to accept the new cycle.
# # Cycle 9 Markers/PW_STATUS so that unschedulables lists can be generated. # LRP each morning; scheduler not run, but new cycle props loaded and unschedulables/proc. errs written out: #50 06 * * 0-6 csh -c '/home/lrp/cyc9/find_cycle9_status.com >&/home/lrp/cyc9/find_cycle9.log ' #Note the caveat on Section B regarding the shortcomings of this crontab. It is not a 'markers' in the true sense of the word, since it is cloned from the batch LRP instead of the markers. An OPR should be filed against SPIKE to allow a cleaner update of the
constraint_window
table.
As the way things stand, all new cycle proposals would need to be loaded into a bare
image and have the CWs written out with populate-status turned on.
The lists of Proposals and Visits in the cycle was generated by the VMS tool SPIKE_LAYERS. Besides generating lists of proposals and visits, the intent of this tool is to produce a categorized list of visits, each visit tagged with a number representing how tight the constraints are, how difficult it would potentially be to schedule on a calendar, and the likelihood of conflicting with other visits.
This categorization is used as input by the python script which constructs the corresponding LISP/SPIKE script.
The lists contained within that tool are (successive exclusion, in the order which the visits are identified):
- Integrated CWs < 1 week . . . . . . . . . . . . . . . . Category 1
- After-Bys w/ Infinite Tolerances. . . . . . . . . . . . Category 7
- After-By Tolerance < 1 week . . . . . . . . . . . . . . Category 2
- Group & Sequence Within w/ Tolerance < 1 week . . . . . Category 2
- CVZs. . . . . . . . . . . . . . . . . . . . . . . . . . Category 3
- After-By Tolerance < 1 month. . . . . . . . . . . . . . Category 4
- Group & Sequence Within w/ Tolerance < 1 month. . . . . Category 5
- Integrated CWs < 1 month. . . . . . . . . . . . . . . . Category 6
- Remaining Linksets. . . . . . . . . . . . . . . . . . . Category 7
- Large MAMA Visits . . . . . . . . . . . . . . . . . . . Category 8
- Remaining Large Orbit Visits. . . . . . . . . . . . . . Category 9
- Remaining MAMAs . . . . . . . . . . . . . . . . . . . . Category 10
- SAA Hiders. . . . . . . . . . . . . . . . . . . . . . . Category 13
- All Short Alignments. . . . . . . . . . . . . . . . . . Category 14
- Medium Sized Alignments, partial SAA schedulers . . . . Category 12
- Remainder . . . . . . . . . . . . . . . . . . . . . . . Category 11
Note that the ordering of the categorization does not exactly match the sequence in which they were generated. This was necessitated by several different requirements and a few workarounds that were necessary.
SPIKE Script building still seems to be somewhat of an art since many characteristics and behaviors of the various commands, the sequence in which they are run, the conditions under which they are executed, and known system shortcomings all impact how best to construct the commands in a way to achieve the stated goal.
Cycle 9 was unique in that a more ambitious approach was adopted in SPIKE/LISP scripting. The goal was to layer planning of visits restrictions by means of direct control of which visits SPIKE would attempt to schedule. Unfortunately, the net result of this was to unveil a number of shortcomings in SPIKE.
In constructing a SPIKE/LISP script, one must first decide what the script is intended to do. The approach adopted for most of the scripting was to create and modify a python script to generate the SPIKE/LISP script because of the repetitive, looping nature of the sequence of commands for building an LRP. For example, it was desired to run the scheduler ~ 14 times sequentially on different categories of visits. Python was used to read in the visits and their categories, and construct a LISP script or series of LISP scripts as well as the unix invocations script(s) to run these SPIKE/LISP scripts.
By way of specific example, we will point the reader to /data/ringworld1/lrp/cycle9/build_cycle_9/cyc9/t24/ as a case in point. This directory contains most of the files used to construct the LRP which was the parent of the LRP ultimately released as the Cycle 9 LRP. One element not contained in that subdirectory is the SPIKE/LISP image used as an element in the chain of products.
A number of details need to be addressed along the way to evaluating the quality of the LRP output by the SPIKE script?
If not, then there will either be obvious signs of failure or not so obvious signs.
unixprompt> nightprob /full/path/name/log_file_name.log
unixprompt> tail -5000 log_file_name.log | more
If the job did complete successfully, evaluation can proceed.
Two important tools in evaluating the quality of the output product are the diff_report and the main report. Currently, these are available only on the VMS side of the fence.
Other important tools are the LRP plot tools. Also, at current, the full battery of plots is only available on the VMS LRP account.
If errors occurred in the script or the output is not judged acceptable as a base for proceeding upon, then going back to earlier steps in the procedure are necessary.
If an output LRP is judged acceptable as a forming the essential endpoint of the build process, it may then have any necessary changes made to it that are required before it is 'released'.
Here, release of the LRP follows naturally to allow the LRP to become the new basis of nightly batch runs and source of plan window information to PCs and the outside world.
From the planning VMS account, the LRP may be released in the following way:
VMS_PROMPT$ DO RELEASE_LRP
lrp_name