scan_hdr(3m)

NAME
scan_hdr - Retrieve the header from log files

SYNOPSIS
[hdr, hdrs, hdrn] = scan_hdr(flog)

DESCRIPTION
This Matlab function scans a log file and returns its header information. The header synthax must follow the one used by applications like scan_nbr(1) or scan_nav(1).

PARAMETERS

flog
    File descriptor of log file. The file must be positionned at the beginning.

RETURNS

hdr String containing complete column description.

hdrs
    Array of column names.

hdrn
    Array of column numbers.

AUTHORS
Pierre Jaccard, Geophysical Institute, University of Bergen, 1999