Import satellite(s) from a GPS file or Almanac file.
ImportAlmanacFile <ScenarioPath> "<FilePath>" ID {All | <IDNumber>} [{ImportOption} <Value> ...]
The ImportAlmanacFile Connect command imports satellites from an Almanac file, either yuma or sem, or from a GPS file (sp3).
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.
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.
Note: 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 a GPS 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 a GPS 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} | Enter the week reference epoch for the
almanac file. The default is 22Aug1999.
This option is ignored if a GPS SP3 file is used. |
Note: The following options are ignored if a GPS SP3 file is specified: StartStop, TimeStep, WeekRefEpoch. These values are obtained from the SP3 file.
To load satellites with id 03 and 04:
ImportAlmanacFile * "C:\GPSData\almanac.week0385.alm" ID 03 id 04
To load all Satellites from the specified file and propagate them over the specified interval:
ImportAlmanacFile * "C:\GPSData\almanac.sem.week0385.alm" ID All StartStop "1 Jul 2006 12:00:00.00" "1 Jul 2006 16:00:00.00" WeekRefEpoch 22Aug1999
To load two satellites from the file, propagate them and put them in a constellation:
ImportAlmanacFile * "C:\GPSData\almanac.yuma.week0385.al3" ID 13 ID 15 Constellation GPSc
To load three satellites from an sp3 file and put them in a constellation:
ImportAlmanacFile * "C:\GPSData\ig310711.sp3" ID 05 ID 06 ID 07 Constellation GPS_SP3
If activated, Connect returns an acknowledgement message.
This command belongs to the following group(s):
10
STK Programming Interface 11.0.1