| hstpos | stsdas.playpen | hstpos |
hstpos --Plot the position of HST on a map of the world.
hstpos input orbit
hstpos plots the position of the spacecraft at a specific time on a Mollweide projection of the world. The task uses the orbital parameters contained in the standard header packet image (the .shh file). The time for which the position is calculated is taken either from a header keyword in an image or a list in a user-created ASCII file.
If an input image is not specified, then both the orbital information and time information will be taken from the .shh file.
A variety of markers and a user-sepcified marker size are available for identifying postions. Plots containing multiple markers can be produced by appending plots to previously drawn plots.
Line of constant geomagnetic latitude can be plotted using the parameters geomag, n_latitudes, and latint. n_latitudes specifies how many lines of constant latitudes from the equator northward are drawn. The number of lines drawn in the north will be mirrored in the south. latint determines the number of degrees between each line of constant latitude.
Contours of the South Atlantic Anomaly (SAA) can be plotted by specifying a model number in the parameter model. The number refers to the model number specified in th Project Database (PDB) file SVDF.DAT. hstpos uses a table version of this file which is specified in the parameter saa. (Refer to the document ICD-26 Part III for more information on SAA contour models).
Wildcard specifications and lists are supported. If no group specification is given for a multigroup file, all groups will be processed. The times at which to determine positions are extracted from the headers of these images. The header keyword containing the time of interest is specified by the parameter timekey.
Instead of image names, this input list may contain specific times at which to determine position. These times may have one of two formats: Modified Julian Date (MJD) or DD-MMM-YYYY HH:MM:SS.SS.
The header keyword that contains the packet time. The positions plotted correspond to the position of the spacecraft at the time given in this header keyword. This keyword should have the time in Modified Julian Date (MJD) but may have (for old-format data) the time expressed as a string with the format: DD-MMM-YYYY HH:MM:SS.SS.
If allgroups = no, only the first or specified group will be processed.
The marker style for each plotted point. Most are self explanatory, however, "hline" is a horizontal line, "vline" is a vertical line, "hebar" is a horizontal error bar and "vebar" is a horizontal error bar.
Warning: Don't try to append to plots that have been sent directly to a printer.
1. Plot the position of the spacecraft at the time that each group of the standard header packet image was dumped. This corresponds to the begin time of an HRS observation.
hr> hstpos z00xh903r.shh ""
2. Repeat the first example, but only plot group number 5.
hr> hstpos z00xh903r.shh[5] ""
3. Use the orbital parameters in z00xh903r.shh but plot the positions at the time each group of the unique data log (.ulh file) was dumped.
hr> hstpos z00xh903r.shh z00xh903r.ulh
4. Use the orbital parameters in y00vk108r.shh but plot the position at the time the first group of the science data (.d0h file) was dumped.
hr> hstpos y00vk108r.shh y00vk108r.d0h[1] timekey=fpkttime
5. Use the orbital parameters in z00xh903r.shh but plot the positions at each of the times listed in the ASCII file, time.in.
hr> type time.in # Sample list of times 01-JAN-1991 10:23:58.33 01-JAN-1991 10:43:00.99 48257.07 48257.08 01-JAN-1991 12:23:58.33 01-JAN-1991 01:43:11.25 hr> hstpos z00xh903r.shh time.in
6. Plot diffenent positions with different markers on the same plot.
hr> hstpos z00xh903r.shh z00xh903r.ulh[1] marker=diamond hr> hstpos z00xh903r.shh z00xh903r.ulh[2] marker=box append+ hr> hstpos z00xh903r.shh z00xh903r.ulh[3] marker=cross append+