Up: FITS - data transfer routines
Previous Page: FITSIN
Next Page: FITSDIR
FITSCOPY copies and/or lists a FITS tape. It is wise to remove the write protect ring prior to loading the tape from which data is to be read or copied. At the terminal type FITSCOPY to the Adam:> prompt. You will first be asked if you wish to COPY or LIST the tape which you have loaded. Type COPY or give <cr> if you want to copy a tape and ensure that you have a second tape loaded to copy to in this option. Type LIST if you want to list file descriptors. You will be asked to input the number of the tape drive for the input tape and (if COPY is selected) the output tape. For COPY you are then asked if you are copying to a new tape. Answer Y(ES), or 1, or hit <cr> if this is so. If you answer N(O) or 0 the output tape will skip forward to the last double filemark and copying will be appended to the end of this tape.
For both options you are asked where the listing of descriptors is to be sent to and you have the choice of VDU, SPOOLER (i.e. Line Printer) or BOTH. You can then select from the following headers:
NUMRUN, OBSERVER, OBJECT, EXPOSURE, COMMENT and DATE (default is all of these)
and if these descriptors are not found you will be notified. You are then asked to select the files you want to LIST or COPY. Type ALL or give <cr> if you want to copy or list the whole input tape. Type FILES if you want to select files from the input tape. If you select certain files you are then given the oportunity to choose them. Type for example 1, 3, 5-9 to select files 1, 3, 5, 6, 7, 8, 9. (The file header is file 0). Type KEYWORDS if you want to select files by descriptor names. For example, if you want to select all files with a particular object type keyword OBJECT, or all files with a particular observer X, type keyword OBSERVER. Finally you are required to input the value for given KEYWORD. Only if the value matches that in the FITS-header will the file be selected.
If you still need help when running FITSCOPY you can type ? as an answer to a question. The system will give you some help and then re-prompt the question.
Under normal circumstances a complete input tape will be copied to a new output tape with a listing of the standard descriptors on the lineprinter. A possible example is this: