~ubuntu-branches/debian/jessie/eso-midas/jessie

« back to all changes in this revision

Viewing changes to prim/help/drs.help

  • Committer: Package Import Robot
  • Author(s): Ole Streicher
  • Date: 2014-04-22 14:44:58 UTC
  • Revision ID: package-import@ubuntu.com-20140422144458-okiwi1assxkkiz39
Tags: upstream-13.09pl1.2+dfsg
ImportĀ upstreamĀ versionĀ 13.09pl1.2+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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: 
 
3
  
 
4
drs [-d(ebug)] [-u(pdate)] [-f(its output)] Midas_command
 
5
  
 
6
   for option = d, the command sent to Midas is printed again
 
7
  
 
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
 
11
  
 
12
   for option = f, all result frames are created in FITS format
 
13
  
 
14
drs -h 
 
15
   to get this text
 
16
  
 
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).
 
20
  
 
21
Examples:
 
22
  
 
23
1) read all FITS keywords beginning with `ST' of a FITS file
 
24
  
 
25
$ drs read/descr image.fits st\*
 
26
     or
 
27
$ drs read/descr image.fits "st*"
 
28
  
 
29
  
 
30
  
 
31
2) delete all ESO hierarchical FITS keywords of FITS file image.fits 
 
32
  
 
33
$ drs -u delete/descr image.fits ESO.\*
 
34
 
 
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
 
41
  
 
42
  note, that the "-u" flag is needed, otherwise the FITS file is NOT updated