parse_STATS_header

Data_Reduction.DSN.STATS.parse_STATS_header(header)

Extract the header from a binary STATS data file.

This extracts the STATS binary file header information into variables with meaningful names. It also converts year and day_of_year to seconds at midnight since the epoch used by UNIX systems.

:param header : string of binary data

Returns

tuple (spcid, vsrid, chanid, bps, srate, errflg, year, doy, sec, freq, orate,nsubchan)