Description | Example | Return message | Group

LoadGPSConstellation

Enables you to load a GPS Constellation from the database.

Syntax

LoadGPSConstellation <ScenarioPath> {ConstellationName} [{UpdateGPSDataFiles} ({FTPServer} <ServerName>) ({RemotePathToData} <Path>)]

Description

The Load GPS Constellation Connect command loads the GPS almanac(s) specific to your scenario, in accordance with your preferences set in Propagator Defaults. If the UpdateGPSDataFiles option is selected, STK attempts to download the latest version of GPSData.txt and the version of GPSAlmanac.al3 closest to the current scenario analysis interval's start time available at http://ftp.agi.com/pub/Catalog/Almanacs/SEM. The server to download from and the path to GPSData.txt can be configured by the FTPServer and RemotePathToData options, respectively. For example, by default, these values are set to ftp.agi.com and /pub/Catalog/Almanacs/SEM/GPSData.txt. The command then loads all satellites in the almanac(s) as Satellite objects, naming them as gps-XX_svnYY (where XX is the GPS PRN number from the almanac, and YY is the GPS Satellite Vehicle Number from the almanac). Finally, the command creates a GPS Constellation object named GPSConstellation along with all the GPS Satellite objects assigned to the Constellation object. You can change the name of the Constellation through the Connect command.

Examples

Load a GPS Constellation and create an STK Constellation Object named GPS1

LoadGPSConstellation * ConstellationName GPS1

Load a GPS Constellation and create an STK Constellation Object with the default name of GPSConstellation

LoadGPSConstellation *

Download the latest GPS data files relevant to the current scenario available from ftp.agi.com, then load a GPS Constellation and create an STK Constellation Object named GPS1:

LoadGPSConstellation * ConstellationName GPS1 UpdateGPSDataFiles

Return message

Group membership

This command belongs to the following group(s):

Object Tools

Vehicles

Version

12.10