  1.  NAME

  avg_ascii - Average field by field ASCII data

  2.  USAGE

  avg_ascii

  3.  DESCRIPTION

  Read all input files and average them field by field. Data may contain
  bad values.

  4.  PARAMETERS

  The following parameters must be edited:

     files
        Cell array with input file names.

     avg_file
        Name for output averaged file.

     write_sdev
        If non-zero,output also a file with standard deviation for each
        field (this file will have the .sdev suffix).

     write_npts
        If non-zero,output also a file with the number of good points
        taken into account during averaging (this file will have the
        .npts suffix).

  5.  AUTHORS

  Pierre Jaccard, Geophysical Institute, University of Bergen, 1999

