SP3EphemerisFile.AddFlag(Variable, Variable, Variable) Method

Top 

Description

Adds the Epoch and numeric SatelliteId code associated with a given Flag to the specified array of Flags to be included in the SP3 Precise Ephemeris file. All Flag data is only included in Version C of the SP3 Precise Ephemeris format.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

Click here to see the documentation for this object in nanosecond timing precision mode.

 

Method Signature

SP3EphemerisFile.AddFlag(

Variable flagType,


Variable flagEpoch,


Variable flagPRN)

 

 

Arguments

flagType


Description:

The Type of Flag to add to the SP3 Precise Ephemeris.

Valid Values:

Value

Label

1

ClockEvent

2

ClockPrediction

3

Maneuver

4

OrbitPrediction

 

 

 

flagEpoch


Description:

The epoch associated with the flag, in units of MJD TAI.

 

 

flagPRN


Description:

The numeric SatelliteId code of the spacecraft associated with the flag.

Valid Range:

flagPRN ≥ 0

 

 

 

Return Value

Type:

number

 

 

Returns the total number of the specified type of Flag in the file.

 

Syntax

myVariable1 = mySP3EphemerisFile1.AddFlag(myVariable2, myVariable3, myVariable4);

 

 

See also

SP3EphemerisFile Object

Orbit Determination Guide

SP3 Ephemeris Guide