read



next up previous contents
Next: saoimage Up: Command Descriptions Previous: quit

read

Enter datafiles by name

Read in up to 999 datafiles.

xsel >  read <readmode> <infiles> <usegti> <hkfiles> <expand>

xsel >  read science ''file1 file2" yes

xsel >  read hk hkfiles=''file1hk file2hk" expand=no

The possible values of readmode are:

Two subsequent reads, with no clear in between, adds the new data files to the list of files already entered.

You do not have to be in the directory which contains the data. You will be prompted for the directories containing the Event and HK data.

Subsequent read commands add to the file list, unlike choose, where the list is automatically cleared before each choose.

Read will attempt to get the mmission, instrument and datamode from the entered files. It is an error to enter files with different instruments, missions or datamodes.

It is often easier to respond to the prompts; see the example.

5 Examples:

Example 1:

xsel >  read d ft930317_1753.1614G30470M.fits  

> The Event file directory > [/tmp/alan]  
> Are GTI extensions available? >[yes]  
> The HK file directory > [/tmp/alan]  
> Are the HK files in expanded form? >[] yes

Example 2:

xsel >  read hk  

> Give name[s] of FITS HK files >[] file1hk.fits file2hk.fits  
> Are the HK files in expanded form? >[] yes

This reads in the hk files file1hk.fits and file2hk.fits, and informs the program that they are in expanded form.



Web Page Maintained by: Dr. Lawrence E. Brown elwin@redshift.gsfc.nasa.gov