Copyright (C) 1994/95/96/2000/01 IGM TU Braunschweig, MPE Garching

fgmpsds  --  generate PSDS of CLUSTER FGM data

USAGE:

 fgmpsds [<infile>...] [-a <attf>] [-e <eclf>]
         [-s <sys>] [-l [<logf>]] [-i] [-o [<outf>]]

 fgmpsds generates a Processing Support Data Set, containing
         one second averages of the magnetic field

 The input file is a normal or burst mode science data file containing
 the raw FGM data, like those distributed on the raw data medium (RDM).
 More than one input file may be specified to concatenate data. If no
 input file is given, the data will be read from stdin.

OPTIONS:

  -a   use <attf> as attitude file. <attf> may contain DDS-headers, i.e.
       the raw attitude file from CDROM (*ga*) may be used.
       Default is to use the merged attitude file `$SATTPATH/satt.cl#',
       where `#' is replaced by the satellite number.

  -e   read eclipse info from file <eclf>. <eclf> may contain DDS-headers, i.e.
       the raw attitude file from CDROM (*ta*) may be used.
       Default is '$SATTPATH/s{|l}tef.cl#', where #=1,2,3,4.

  -i   append calfilename-info to the end of the output;
       default is to have the used calibration file-name written in a 
       separate file 'cal.log'        
       A tailstring, containing output column names, is also appended.

  -s   select the output coordinate system, where <sys> may be
       `sr'   for spin-reference system,
       `scs'  for spacecraft-sun system (this is the default),
       `gse'  for geocentric solar ecliptic system,
       `gsm'  for geocentric solar magnetospheric system, or
       `sm'   for solar magnetic system.
       `j2k'  for geocentric equatorial inertial system of epoch J2000.0.
         
  -l   re-direct info from stderr to a logfile <logf>; 
       if option '-l', but no filename given, default is: 'logfile' 
  
  -o   use <outf> as output file.If '-o', but no <outf> given,
       use default name : C#_yyyymmdd_sys.mag, where #=1,2,3,4 stands for
       satellite number and sys for the output coordinate system.
       Default is to write to stdout.

  -V   print version number on stdout, then exit.

AUTHORS:
 
 Edita Georgescu (eg@mpe.mpg.de)
 Stephan Buchert (scb@stelab.nagoya-u.ac.jp)
 Reinhold Kempen (reinhold@geophys.nat.tu-bs.de)
 Joerg Warnecke  (joerg@igpp.ucla.edu)
