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.
Specify the name of the file that you wish to import satellites from using the "<FilePath>" parameter. You must enter the complete path and filename and enclose it in quotes.
"<FilePath>" is the path to a file on your local drive.
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 you enter ID All, then STK will load the Satellites 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. STK ignores this option if you use an SP3 file. |
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.
STK ignores this option if you use an SP3 file. |
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 (STK 12.2 and earlier). |
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.
STK ignores this option if you use an SP3 file. |
Propagator | {GPS | SP3} | Select the propagator for the imported satellites.
The default is GPS. |
If you use an SP3 fileSTK ignores the following options: StartStop, TimeStep, and 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
12.10