ImportAlmanacFile
Import satellite(s) from a GPS file or Almanac file.
Syntax
ImportAlmanacFile <ScenarioPath> "<FilePath>" ID {All | <IDNumber>} [{ImportOption} <Value> ...]
Related commands
Description
The ImportAlmanacFile Connect command imports satellites from an Almanac file, either yuma or sem, or from an SP3 file.
The name of the file, that you wish to import satellites from, is specified using the "<FilePath>" parameter. The complete path and filename must be entered and enclosed in quotes.
"<FilePath>" can be the path to a file on your local drive or the path to a file on an SDF server. See Specifying Paths for "<SDFFilePath>" syntax information.
Enter ID All to load all satellites from the specified file. Alternatively, enter ID <IDNumber> to load a specific Satellite from the file. The ID <IDNumber> option can be entered multiple times on one command line to load multiple satellites.
If ID All is entered then the Satellites will be loaded with the Ground Track and Orbit Track graphics turned off.
Valid {ImportOptions} and associated <Value> are:
{ImportOption} | <Value> | Description |
---|---|---|
StartStop | {TimeInterval} | Define the beginning and end of the satellite's time period. Using this option will also turn on AutoPropagate. The default value is the Scenario time period.
For valid {TimeInterval} values see Time Options. This option is ignored if an SP3 file is used. |
TimeStep | <StepSize> | Enter a value representing the interval between calculated ephemeris output points in seconds. Using this option will also turn on AutoPropagate. The default value is 60 seconds.
This option is ignored if an SP3 file is used. |
Constellation | <ConstellationName> | STK creates a constellation (if it doesn't already exist) and places the selected satellites in it. This option is only available with the STKProfessional or STKExpert license. |
WeekRefEpoch | {06Jan1980 | 22Aug1999 | 07Apr2019} | Enter the week reference epoch for the almanac file. The default is determined as the latest prior date relative to the scenario epoch.
This option is ignored if an SP3 file is used. |
Propagator | {GPS | SP3} | Select the propagator for the imported satellites.
The default is GPS. |
The following options are ignored if an SP3 file is specified: StartStop, TimeStep, WeekRefEpoch. These values are obtained from the SP3 file.
Examples
To load satellites with id 03 and 04:
To load all Satellites from the specified file and propagate them over the specified interval:
To load two satellites from the file, propagate them and put them in a constellation:
To load three satellites from an sp3 file, put them in a constellation, and use the SP3 propagator:
Return message
Group membership
This command belongs to the following group(s):
Version
11.5