Produced by IDL 7.1.1
User Documentation

./guide
fileout.pro

Last modification date:
Wed Sep 28 13:27:08 2016

fileout

procedure fileout, file_name, [/new]

Specify the file to which data will be written.

The filename is stored in the !g.line_fileout_name field. At startup, this is set to "GBTIDL_KEEP.fits" so that it is possible to save data without ever using this procedure.

The output file name must use the ".fits" suffix.

Note that it is not currently possible to save continuum data.

Examples
    getrec,1
    show
    fileout,'savedfile.fits'
    keep
 
Version
$Id$

Parameters
file_name
in, required
string
The file to which data will be written. If the file does not exist, it will be created when the first spectrum is saved to this file (e.g. using keep).

Keywords
new
in, optional
boolean
When set a new output file will be created. If file_name already exists, it will first be removed. If there is a problem in removing that file this procedure will return without opening the file_name.


Produced by IDLdoc 1.6 on Wed Sep 28 13:27:33 2016