Ephemeris.LoadEphemeris(String, String) Method

Top 

Description

Loads an ephemeris file into the provided Ephemeris object, and returns the number of vectors loaded.

 

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

Ephemeris.LoadEphemeris(

String filename,


String ephemerisFormat)

 

 

Arguments

filename


Description:

Name of the ephemeris file to load.

 

 

ephemerisFormat


Description:

Optional argument that returns a string containing the format of the ephemeris. Possible values are "FreeFlyer Ephemeris V1", "FreeFlyer Ephemeris V2", "FreeFlyer Ephemeris V3", "Code 500 HP", "Code 500 PC", "SPK Ephemeris", "STK Ephemeris", "STK Attitude History File", "CCSDSOEM", or "Unknown Ephemeris Format" if the format is not recognized. Note that FreeFlyer will populate this String when LoadEphemeris is called; this is not an input argument.

 

 

 

Return Value

Type:

number

 

 

Returns the number of vectors loaded into the Ephemeris.

 

Syntax

myVariable1 = myEphemeris1.LoadEphemeris(myString1, myString2);

 

 

See also

Ephemeris Object

Ephemeris.LoadEphemeris

Working with Ephemerides

Ephemerides and AHF