<< sp3_parse_file GPS Physical Geodesy >>

scilib_geo >> GPS > sp3c_parse_header

sp3c_parse_header

Parses the headerdata of a SP3c-file (lines 1-22).

Calling Sequence

[header, perr] = sp3c_parse_header(headerstrings)

Parameters

header

structured data found in the header (lines 1-22), struktured data.

perr

Vector of errors occured, should be empty.

headerstrings

Stringmatrix (22 lines) header data from an SP3-file.

Description

Parses the headerdata of a SP3c-file (lines 1-22) and returns a structured dataset (struct()) Specification of the fileformat (SP3-c) can be found here: sp3c.txt (12.02.2007)

Important: Modifications applied to the format at 17. August 2010 are not yet implemented. Satellite System identifier J = QZSS und C = COMPASS and Time System identicator QSC for QZSS-time are not supported.

The header-objekt contains following data:

header
.date [1x6] [YYYY,MM,DD,hh,mm,ss.ss]
.epochs [int], number of epochs
.orbit type [int], 1=FIT (fitted), 2=EXT (extrapolated or predicted), 3=BCT (broadcast), and 4=HLM (fitted after applying a Helmert transformation), 0= calculated or not defined.
.epoch_interval [int], interval between epochs [seconds]
.gpsweek [1x2], [gpsweek, secondsofweek].
.svnumber [int], number of SVs
.satnames [31x1] stringmatrix with Identifiers of SVs.
.accuracy [31x1], Linevector
.file_type [char], "M" - mixed, "G" - GPS only, "R" - GLONASS only, "L" - LEO only, "E" - Galileo (see below, SV-names)
.time_sys [String(3)], "GPS" - GPS Time, "GLO" - GLONASS UTC time system, "GAL" - Galileo system time, "TAI" - International Atomic Time, "UTC" - Coordinated Universal Time.
.base_values [float], base of position (or velocity) [mm or 10^-4 mm/sec].
.base_clkrate [char], base for vlock/rate [picosec or 10^-4 psec/sec].
.comment [4x1], stringmatrix, comment field (Zeile 19-22)..
.hash not implemented

Some data is checked for plausibility and standard conformity, don't count on it.

Valid SV-names are only: "Gnn" - GPS, "Rnn" - GLONASS, "Lnn" - Low-Earth Orbiting (LEO) and "Enn" - Galileo.

Examples

 header  =
   date: [2007,12,14,0,0,0]
   epochs: 96
   orbit_type: 4
   epoch_interval: 900
   gpsweek: [1457,432000]
   svnumber: 31
   satnames: [31x1 string]
   accuracy: [31x1 constant]
   file_type: "G"
   time_sys: "GPS"
   base_values: 1.25
   base_clkrate: 1.025
   comment: [4x1 string]
   hash: 0

See Also

Authors


Report an issue
<< sp3_parse_file GPS Physical Geodesy >>