next up previous contents
Next: 3.1.2 Converting RDAF Format Up: 3.1 RDAF-format Files Previous: 3.1 RDAF-format Files

3.1.1 Converting GO Format to RDAF Format

  If you have GO files on disk and wish to convert them to RDAF format, you may use a program called GOTORDAF:

GOTORDAF,'GOFILE',/noquota 

where GOFILE is the name of the GO format file and /noquota is used on VMS machines to suppress the display of your disk space quota. Include the extension; extensions for GO files are variable. Wildcards are acceptable.

GO format files can also be converted to RDAF format using IUECOPY. If the GO files are already on disk, then GOTORDAF is easier to use, but if they are on magnetic tape, you can use IUECOPY to read them and re-format them in one step (your tape drive must be available from within IDL).

IUECOPY,IN,CAM,IMAGE,TYPE,OUT,overwrite,dir=dir,/noquota 

IN: Input tape device, either a number assigned by IDL to your tape drive, or a string designating the tape drive (OUT must be 'gofile' or -1). For GO files on disk this can also be the name of a file to convert (wildcards accepted) or even a string array of filenames.
CAM Camera number(s) of file(s) to be converted. Allowed cameras are: 0 Any camera; files will not be skipped on the basis of camera.
1 LWP
2 LWR
3 SWP
4 SWR
8 FES1
9 FES2
IMAGE Image sequence number(s) of file(s) to be converted. If 0, files will not be skipped on the basis of image sequence number.
TYPE File type(s) to copy. This is a string and should be enclosed in quotes. Types are the codes described in Table 1.2. This parameter is different from the other parameters in this program in that it is a scalar string regardless of how many types you include. Furthermore, unless the letter ``a'' is included, IUECOPY will stop when it has copied one file for each type included in this parameter. For example, to copy two MEHI files from a tape, TYPE would be "hh". To copy ALL MEHI files, make it "ah" instead.
OUT This may either be an output device name (a string or number that designates another tape drive), "gofile" if a GO file on tape is to be written to disk without conversion to RDAF format, or a negative number if the data are to be converted and written to the current directory (-1 if reading from tape, -2 if reading from disk).
overwrite On UNIX systems, this allows overwriting of the output tape.
dir If writing to disk, set this keyword equal to a directory to write to if you don't want to write to the current directory.
noquota On VMS systems, this program spawns to show the current disk quota after each file is copied. The idea was to show the user how much disk space was left, as some files are large. However, newer versions of IDL tend to have errors "creating child processes" when it thinks too many spawns have been issued. To suppress the spawns on VMS systems, set this keyword.


next up previous contents
Next: 3.1.2 Converting RDAF Format Up: 3.1 RDAF-format Files Previous: 3.1 RDAF-format Files

2/9/1998