SP3EphemerisFile.AddFlag(Variable, TimeSpan, 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 nanosecond timing precision mode.

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

 

Method Signature

SP3EphemerisFile.AddFlag(

Variable flagType,


TimeSpan 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, myTimeSpan1, myVariable3);

 

 

See also

SP3EphemerisFile Object

Orbit Determination Guide

SP3 Ephemeris Guide