Orbit2Sp3Format

Writes orbits to SP3 format.

SP3 orbits are usually given in the terrestrial reference frame (TRF), so providing earthRotation automatically rotates the orbits from the celestial reference frame (CRF) to the TRF. Since SP3 orbits often use the center of Earth as a reference, a correction from center of mass to center of Earth can be applied to the orbits by providing gravityfield (e.g. ocean tides).

See also Sp3Format2Orbit.

NameTypeAnnotation
outputfile
filename
satellite
sequence
inputfileOrbit
filename
inputfileClock
filename
inputfileCovariance
filename
identifier
string3 characters (e.g. GNSS PRN: G01)
orbitAccuracy
double[m] used for accuracy codes in header (0 = unknown)
earthRotation
earthRotationrotate data into Earth-fixed frame
gravityfield
gravityfielddegree 1 fluid mantle for CM2CE correction (SP3 orbits should be in center of Earth)
comment
stringcomment lines (77 char max)
firstLine
stringText for first line e.g: u+U IGb14 KIN ITSG
writeVelocity
booleanwrite velocity in addition to position
useSp3kFormat
booleanuse the extended sp3k format