skip to content
 
ROSAT Guest Observer Facility


How to Read ROSAT Data from Tape Without using IRAF


UNIX MACHINES WITH CSHELL

After logging on to your machine, placing the tape in tape drive (TAPE), and changing the default directory to the desired data directory, one can read the ROSAT RDF fits tape directly under unix in the following way:

For PSPC data:

% mt -f /dev/TAPE rewind
% foreach f ( 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15)
? dd if=/dev/TAPE of=fname.$f  ibs=28800
? end

This will give you files fname.1, fname.2, fname.3 .....etc which correspond to the 15 PSPC files listed in the RDF data products guide.

mv fname.1 obsid.tap
mv fname.2 obsid.bas
mv fname.3 obsid.im1
mv fname.4 obsid.im2
mv fname.5 obsid.im3
mv fname.6 obsid.bk1
mv fname.7 obsid.bk2
mv fname.8 obsid.bk3
mv fname.9 obsid.mex
mv fname.10 obsid.ime
mv fname.11 obsid.src
mv fname.12 obsid.anc
mv fname.13 obsid.his
mv fname.14 obsid.prt
mv fname.15 obsid.raw

For HRI data:


% mt -f /dev/TAPE rewind
% foreach f ( 1 2 3 4 5 6 7 8 )
? dd if=/dev/TAPE of=fname.$f  ibs=28800
? end

This will give you files fname.1, fname.2, fname.3 .....etc which correspond to the 8 HRI files listed in the RDF data products guide.

mv fname.1 obsid.tap
mv fname.2 obsid.bas
mv fname.3 obsid.im1
mv fname.4 obsid.bk1
mv fname.5 obsid.src
mv fname.6 obsid.anc
mv fname.7 obsid.his
mv fname.8 obsid.prt

VAX VMS MACHINES

After logging on to your machine, placing the tape in tape drive (TAPE), and changing the default directory to the desired data directory, one can read the ROSAT RDF fits tape directly under VMS in the following manner:

For PSPC data:

$ MOUNT/FOREIGN/BLOCK=28800/RECORD=2880 TAPE
$ COPY TAPE OBSID.TAP
$ COPY TAPE OBSID.BAS
$ COPY TAPE OBSID.IM1
$ COPY TAPE OBSID.IM2
$ COPY TAPE OBSID.IM3
$ COPY TAPE OBSID.BK1
$ COPY TAPE OBSID.BK2
$ COPY TAPE OBSID.BK3
$ COPY TAPE OBSID.MEX
$ COPY TAPE OBSID.IME
$ COPY TAPE OBSID.SRC
$ COPY TAPE OBSID.ANC
$ COPY TAPE OBSID.HIS
$ COPY TAPE OBSID.PRT
$ COPY TAPE OBSID.RAW

The order of the files can be confirmed by looking at the *TAP.FITS file

For HRI data:


$ MOUNT/FOREIGN/BLOCK=28800/RECORD=2880 TAPE
$ COPY TAPE OBSID.TAP
$ COPY TAPE OBSID.BAS
$ COPY TAPE OBSID.IM1
$ COPY TAPE OBSID.BK1
$ COPY TAPE OBSID.SRC
$ COPY TAPE OBSID.ANC
$ COPY TAPE OBSID.HIS
$ COPY TAPE OBSID.PRT