next previous contents
Next: IRAF Networking Previous: Keeping Your Data Organized:

Taking the Bus: Alternative Schemes of Getting Your Data Home

  Although we recommend all observers make two FITS tapes of everything, there are additional ways of sending your data home.

Observers with lots of time on their hands, or who are using very small chips, may wish to transfer their data home over the internet using ftp. An example is given in Figure 10. First the data are written as disk FITS images by specifying a non-tape drive name. The ftp facility is then used in non-interactive, binary mode to transfer all the images.

It is also possible to use the UNIX tar facility to tape your data, but because IRAF keeps the header and pixel files separately, you must first write your IRAF images to FITS images on disk, and then tar the FITS files. Thus you might:

Next, allocate the drive in IRAF ( all mta, say), and then do a

!tar -cvf /dev/nrmt8 sendem*

where the ``nrmt8" should be whatever the Unix device name is ( nrmt8, nrst17, nrst0, etc.), which you will find marked on each drive. (The ! is just a way of telling IRAF that you are executing a Unix command; if you are doing this from a Unix window, forget the ``!".) Additional tar files can be added with the same command. However, if you remove the tape from the drive, and append to it at a later time, you must first position the tape to the end of the last file using

!mt -f /dev/nrmt8 fsf 3

where 3 is the number of tar files already on the tape in this example. The contents of a tar file may be listed using

!tar -tvf /dev/nrmt8

but the tape must first be rewound with

!mt -f /dev/nrmt8 rewind

and if necessary positioned to the proper file again with mt as shown above. Files can be recovered from a tar file using

!tar -xvf /dev/nrmt8

after positioning the tape with mt's. Use rfits sendem* make+ old+ to then restore the FITS files to IRAF files. Note that for the time being one should not use the IRAF wtar and rtar commands.

For those lucky few of us that have accounts on both the mountain and downtown machines, it is relatively easy to simply use IRAF networking to imcopy a set of files directly down onto our disks. Log onto your home machine remotely by using telnet, log into IRAF on your home machine, and then do a set dum=``indigo!/data1/feed/" (note the final ``/"!). One can then copy a single image by doing a imcopy dum$e0011 e0011. To copy a slew of images is somewhat trickier; follow the example given in Figure 11.

next previous contents
Next: IRAF Networking Previous: Keeping Your Data Organized:
Tue Feb 14 07:48:00 MST 1995