STK Test and Evaluation Tool Kit Text Readers

The text readers are automatically used when you import files into TETK. This page describes the supported file formats, date formats, heading data, and metadata that can be included in the file in addition to the regular file data.

File Extension

The following formats are accepted by the current TETK Text Readers.

  • *.txt
  • *.csv
  • *.mat

Refer to the TETK MATLAB Reader topic for more information about the MATLAB Text Reader.

File Format

The current Generic Text reader only supports text files in *.csv format. Support for additional delimiters will be added in the future.

Date Formats

The following table contains a list of supported data formats:

Format Example
ISOYD 2013-302T15:30:26.1
Day Seconds 36000.0
Epoch Seconds 0.1

LST Time Format

Note: This format is only supported with input files.

302:15:30:26.1
Hours Minutes Seconds 16:24:12.2
US Standard1 10/26/2013 15:30:26.1
DD-MMM-YYYY Time 23-Jan-2023 19:41:03.315

1 - Time can be listed in other typical US formats, the example is a tested and supported instance

Example Unit File Contents

Option Units
Latitude Degrees
Longitude Degrees
Altitude Feet

Metadata

The Generic Text Reader has support for metadata. To specify metadata in the data file, begin the line with a # or % and use property=value syntax. The following table contains a list of valid tags with associated values:

Tag Value Example

Flight Date

Note: For time in LST Time Format, provide only the year in the Flight Date. (ex: 00/00/2013)

10/29/2013 (can include time: 10/29/2013 14:00:00.00)
Aircraft AF3
Test 0385
Second Multiplier 1000000
Is Day Seconds true
TimeType Absolute, Relative
TimeSystem UTC, GPS, TAI, Other
TimeOffsetHr number
TimeOffsetSec number
TspiMapping TSPI mapping name
TimeColumn TimeColumn
#
# Flight Date=10/29/2013
# Aircraft= AF3
# Test=0385
#
Time, Latitude, Longitude, Altitude
Absolute Time, Degrees, Degrees, Feet
2013-302T15:30:26.1, 40.4397, 79.9764, 20001
2013-302T15:30:26.2, 40.4399, 79.9766, 20002
2013-302T15:30:26.3, 40.4340, 79.9766, 20002