Vector File Format (*.vd)
A vector data file is an ASCII text file formatted for compatibility with STK that ends in a .vd
extension.
Keywords
Each vector data table, regardless of the type of vector data in the table, contains some common elements called keywords. Keywords and their associated values must precede the specification of the vector data format and the actual data points.
The keywords used in vector tables are not case sensitive and do not have to conform to the case scheme utilized here.
Keyword | Required | Description |
---|---|---|
stk.v.<major release number>.<minor release number> | Yes |
This is the version of STK software associated with the file formatting. You can create files in this format and import them into any STK software version at this level or higher. The version stamp must be the first line in the file. Example: stk.v.11.0A file created in and stamped with this version could be imported into STK software version 11.0 through the most recent version. |
MessageLevel | No |
You can set this value to determine the level of message(s) you receive from STK as it attempts to read the file. The value options are:
|
BEGIN VectorData END VectorData |
Yes | This sets off the beginning and end of the Vector Data table. |
NumberOfVectorDataPoints | No |
AGI recommends using this. When specified, it indicates the maximum number of vector data points to read from the file. When not specified, all vector data points in the file will be used. Prior to STK 11.5, this keyword was required. Example: If you enter
then STK would read up to six vector data points. |
ScenarioEpoch | No | This is the reference epoch time for the time values of the Vector data in the table. Specify the scenario epoch using Gregorian UTC time (dd mmm yyyy hh:mm:ss.s ). There is no relationship between the scenario epoch specified in the vector table and the actual scenario epoch in your STK scenario.
The default is the actual scenario epoch in the STK scenario. |
InterpolationMethod | No | This is the method by which STK interpolates between vector points. Valid values are:
Default is Lagrange. Example:
|
InterpolationSamplesM1 | No |
The value is one less than the number of points used in the interpolation. For the Lagrange interpolation method, this is also the interpolation order. For the Hermitian interpolation method, the interpolation order is: The default value is 5. Example: InterpolationSamplesM1 5 |
CentralBody | No | This is the central body to which the vector points are relative. The keyword value that completes the phrase can be the name of any registered central body. See the STKData\CentralBodies directory for a list of registered central bodies.The default is the central body for the vehicle, and Earth is the default for the vehicle. Example: CentralBody Earth |
ComputeVelocity | No |
The manner in which Cartesian velocity is computed from the Cartesian position generated from the position data in the file if rate information is not provided directly by the file. The default value is DerivativeOfInterpolatingPolynominal. Other values are:
|
CoordinateAxes | No |
AGI recommends specifying these, which are the reference axes in which the vector data components are expressed. You can use any of the pre-defined reference axes. For a complete list of VGT central body frames, go to the Vector Geometry tool in STK's Analysis Workbench capability and select a specific primary or secondary body, or an object on a particular central body. All supported VGT components, including reference frames, will appear for your selection. You can also define a new set of axes using the Vector Geometry Tool (VGT). You can then specify the name of your new axes and the name of the STK object to which it corresponds. VGT-created axes must use the keyword CoordinateAxes AWB. For example, CoordinateAxes AWB NorthEastDown Aircraft/AircraftName. CoordinateAxes AWB replaces CoordinateAxes Custom as the required keyword for VGT-created axes. STK still supports the CoordinateAxes Custom keyword, for backward compatibility. The default is Inertial, which is ICRF for the Earth and Sun. Examples:
CoordinateAxes AWB TopoCentric Facility/MyLaunchSite TopoCentric The name of the STK object is optional if the object that is importing the vector data is the object on which axes are defined. |
CoordinateAxesEpoch | See Note |
Specify the epoch time for the coordinate axes in Gregorian UTC time ( These are required with coordinate axes that reference an epoch:
Example:
|
DimensionName | No | You can choose a name such as Distance, Time, Angle, etc., that defines the dimension of the tabulated data in this file. See Scenario Properties Units for a list of available dimension names. |
DimensionUnit | No |
Specify the unit of the tabulated data in the file. The unit must be valid for the specified DimensionName. Use this only if you provide a DimensionName. You can only specify a unit that is valid for tabulated data with numeric values. Example: For DimensionName Angle:
|
TimeFormat | No |
The TimeFormat keyword is the time format abbreviation, such as EpSec for Epoch Seconds or JDate for Julian Date. For time format abbreviations, see DateTime Formats. This defines the date format of time tags. If set, each line of data in the file begins with a time in this date format followed by the rest of the data. Spaces are valid whenever the format admits them (e.g., 1 Jan 2007 12:00:00.000). Quotes around time strings are invalid. Examples: TimeFormat DD/MM/YYYY TimeFormat GPSZ |
End TrendingControl |
No |
These keywords mark the beginning and end of the TrendingControl section. STK will sample the data in this section when determining trends for event detection. For example, a drastic change in motion may indicate an event (especially if the change is brief). The TrendingControl section can include either the TrendingControlTimes subsection or the TrendingControlStep. Keyword History The TrendingControl keywords were introduced in STK 11.6.0. |
End TrendingControlTimes |
No |
You can include TrendingControlTimes section in the file if the TrendingControlStep keyword is not used. This section contains a list of times (one per line) that should be sampled for determining trends for event detection. If a TimeFormat keyword precedes this section, then this section must adhere to the format. Otherwise, the times are in seconds since the ScenarioEpoch specified in the file. Keyword History The TrendingControlTimes keywords were introduced in STK 11.6.0. |
TrendingControlStep | No |
You can include the TrendingControlStep keyword in the file if the TrendingControlTimes section is not used. The keyword specifies the step size, in seconds, that STK will use when sampling times in the file. STK will select samples as far apart as possible without exceeding the step size. Controlling the step size is most useful when the sample times in a file are dense. STK will sample at a lower density than the file's data, but the points will still be close enough to detect drastic changes in motion. Keyword History The TrendingControlStep keyword was introduced in STK 11.6.0. |
File formats
Use one of the following formats to specify the data points in the Vector file.
Vector data represented in Cartesian format
Vector data is represented in the axes defined using the CoordinateAxes keyword.
VectorDataTimeCartRate | Data consists of X/Y/Z components of vector and rate. |
VectorDataTimeCart | Data consists of X/Y/Z components of vector. |
Vector data represented in Cartesian format in the ICRF frame
Vector data is represented in the ICRF by default, so using the CoordinateAxes keyword is optional.
VectorDataEciTimeCartRate | Data consists of X/Y/Z components of vector and rate. |
VectorDataEciTimeCart | Data consists of X/Y/Z components of vector. |
Vector data represented in Cartesian format in the Fixed frame
Vector data is represented in the Fixed frame by default, so using the CoordinateAxes keyword is optional.
VectorDataEcfTimeCartRate | Data consists of X/Y/Z components of vector and rate. |
VectorDataEcfTimeCart | Data consists of X/Y/Z components of vector. |
VectorDataTimeDecRaMagRate and VectorDataTimeDecRaMag
Vector data is represented in columns of Spherical Declination, Right Ascension, and Magnitude components with rate terms. You need to define a reference axes using the CoordinateAxes keyword.
VectorDataTimeEciDecRaMagRate and VectorDataTimeEciDecRaMag
Vector data is represented in columns of Spherical Declination, Right Ascension, and Magnitude components with rate terms. Vector is in ICRF frame by default as specified by the keyword.
VectorDataTimeEcfDecRaMagRate and VectorDataTimeEcfDecRaMag
Vector data is represented in columns of Spherical Declination, Right Ascension, and Magnitude components with rate terms. Vector is in the Fixed frame by default as specified by the keyword.
VectorDataTimeRaDecMagRate and VectorDataTimeRaDecMag
Vector data is represented in columns of Spherical Right Ascension, Declination, and Magnitude components with rate terms. You need to define a reference axes using the CoordinateAxes keyword.
An example of the VectorDataTimeRaDecMag format follows.
stk.v.10.0 # WrittenBy STK_v10.1.0 BEGIN VectorData NumberOfVectorDataPoints 6 ScenarioEpoch 13 Nov 2013 17:00:00.000000 # Epoch in JDate format: 2456610.20833333333333 # Epoch in YYDDD format: 13317.70833333333333 InterpolationMethod Lagrange InterpolationSamplesM1 5 CentralBody Earth CoordinateAxes ICRF DimensionName Distance # Time of first point: 13 Nov 2013 17:00:00.000000000 UTCG = 2456610.20833333333333 JDate = 13317.70833333333333 YYDDD VectorDataTimeRaDecMag 0.0 37.1 89.2 7000.0 60.0 17.9 64.6 7000.0 120.0 3.4 48.3 7000.0 180.0 -7.1 9.7 7000.0 240.0 -31.9 -9.2 7000.0 300.0 -37.1 -39.4 7000.0 END VectorData