1
% @(#)drs.help 19.1 (ESO-IPG) 02/25/03 14:03:17
2
Use drs (Data Reduction System) from the Unix command line as:
4
drs [-d(ebug)] [-u(pdate)] [-f(its output)] Midas_command
6
for option = d, the command sent to Midas is printed again
8
by default FITS files are not updated in Midas (for backw. compatibility)
9
for option = u, also FITS files are updated
10
Midas (.bdf) files are always updated
12
for option = f, all result frames are created in FITS format
17
Due to the shell expansion mechanism,
18
characters like e.g. `*' or `)' have to be entered as `\*', `\)'
19
or the whole string must be enclosed in `"' (double quotes).
23
1) read all FITS keywords beginning with `ST' of a FITS file
25
$ drs read/descr image.fits st\*
27
$ drs read/descr image.fits "st*"
31
2) delete all ESO hierarchical FITS keywords of FITS file image.fits
33
$ drs -u delete/descr image.fits ESO.\*
35
the command above triggers the following processing:
36
the FITS file is converted to internal Midas format (all in memory)
37
in the conversion all `HIERARCH ESO abc xyz keywords are translated into
38
descriptors `ESO.abc.xyz'
39
all descriptors beginning with the string `ESO.' are deleted
40
the file is written out in FITS again
42
note, that the "-u" flag is needed, otherwise the FITS file is NOT updated