get_hdr(3m)

NAME
get_hdr - Get headeer information from log files

SYNOPSIS
hdr = get_hdr(log_file )

DESCRIPTION
Scans a log file for a header description and returns information about the columns of data in the log file. This function has been especially wrritten to parse log files generated by scan_nbr(1), scan_nav(1) and process(1).

PARAMETERS

log_file
    Name of log file.

RETURNS

hdr A cell array of the variables contained in the log file. The index to the cell corresponds to the column of the variable.

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