| ridsfile | noao.mtlocal | ridsfile |
ridsfile -- convert DUMPF format IDSFILE to IRAF images
ridsfile dumpf_file file_number iraf_file
The IDS records in an IDSFILE are read from a Cyber DUMPF tape and optionally converted to a sequence of one dimensional IRAF images. The records to be read from the IDSFILE can be specified. The IDS header information is printed in either a short or long form. The pixels values can be listed as well.
[1] Convert all records in the IDSFILE to IRAF images, with the root image name being "aug83". From running task LDUMPF, it is known that the IDSFILE is the fourth permanent file on the DUMPF tape. The DUMPF tape is mounted on mtb.
cl> ridsfile mtb 4 aug83
[2] List the headers from the same IDSFILE read in example 1, but don't make output images. A long_header will be listed; sample output is shown.
cl> ridsfile mtb 4 make_image=no long_header=yes
RECORD = 2317, label = "CALLISTO 2297/2298 CLEAR/2.5ND", oflag = OBJECT, beam_number = 0, alpha_ID = NEW, companion = 2318, airmass = 1.524, W0 = 3430.735, WPC = 1.032, ITM = 960, NP1 = 0, NP2 = 1024, UT = 3:36:20.0, ST = 15:36:43.0, HA = 1:39:48.5, RA = 13:56:55.5, DEC = -10:42:37.1, df = -1, sm = -1, qf = -1, dc = 0, qd = 0, ex = 0, bs = 1, ca = 0, co = -1
[3] Print the pixel values for records 5086 and 5087. No output image will be written, and only the short header listed. Again, the IDSFILE is the fourth permanent file on the DUMPF tape, which is mounted on mtb.
cl> ridsfile mtb 4 make_im- rec=5086,5087 print+
The current version of IRAF magtape I/O does not read beyond the first
volume of a multivolume tape.
The record structure of a DUMPF tape is used to
filter out noise records and extraneous bits that fill out a tape byte;
this tape structure information is lost when the tape is copied to disk,
and so ridsfile
may not be able to convert some DUMPF format disk files.
Task ridsfile
allows for converting only one IDSFILE per execution.
If you wish to read more than one IDSFILE
from a DUMPF tape, ridsfile
must be executed more than once.
The Cyber format readers, including ridsfile , have not been implemented on SUN/IRAF and AOS/IRAF.