STScI Logo

upqpoerdf xray.xdataio


NAME · USAGE · DESCRIPTION · PARAMETERS · EXAMPLES · TIME_REQUIREMENTS
BUGS · SEE_ALSO

NAME

upqpoerdf -- convert a list of IRAF/PROS QPOE file into RDF compatible format

USAGE

upqpoerdf qpoelist

DESCRIPTION

upqpoerdf upgrades PROS QPOE file into the current format. This task will run on a single file, a filename template or a filename list. It modifies the file in place and can be run more than once with no ill-affects. It checks for old features, and if present, converts them to the new format. NOTE: You must have write access to the QPOE file. Also, for the special case of ROSAT/HRI data, it will run the task qpgapmap to generate the necessary detx,dety coordinates if they are not present, provided that the rawx,rawy input coordinates have been provided.

PARAMETERS

listfile = "" prompt = input (QPOE) filename or list

The input QPOE file name, template or list ( a list of filenames is entered with the "@qlist.lst" syntax.

(display = 1) [int]

The display level. A display level of 0 generates no display. A display level of 1 displays the filenames converted.

(qp_psize = 2048) [int]

Page size for the qpoe file. This parameter is internal to qpoe and should not normally be changed.

(qp_blen = 4096) [int]

Bucket length for the qpoe file. This parameter is internal to qpoe and should not normally be changed.

EXAMPLES

Convert a single QPOE file


cl> xray
xr> xdataio
xd> copy xdata$rp110590.qp .
xd> upqpoerdf rp110590.qp
Converting file headers to RDF ...
Writing file rp110590.qp.
Calculating ROSAT/HRI detector coordinates...
rp110590.qp - not HRI data file - skipping

Convert a template of QPOE files

xd> copy xdata$*.qp .
xd> upqpoerdf *.qp
Converting file headers to RDF ...
Writing file h8103.qp.
Writing file rh110267.qp.
Writing file rh110267n00.qp.
Writing file rp110590.qp.
Writing file rp110590n00.qp.
Writing file snr.qp.
Calculating ROSAT/HRI detector coordinates...
h8103.qp - not ROSAT data file - skipping
Writing output file - rh110267.qp
Writing output file - rh110267n00.qp
rp110590.qp - not HRI data file - skipping
rp110590n00.qp - not HRI data file - skipping
snr.qp - not HRI data file - skipping

TIME REQUIREMENTS

Virtually instantaneous, as only header keywords are modified in place. Except for the ROSAT/HRI case when QPGAPMAP must be run as well. The time is then proportional to the number of events in the file.

BUGS

SEE ALSO


Source Code · Search Form · STSDAS