XINA Struct Export
This page is a Work In Progress
The XINA Struct Export utility processes archive files to produce data products for XINA's Export Tasks. There are 2 suppported archive file formats: xbin and xpf. If the archive file is in the xpf format, processing is delegated to a mission specific tool. See the Struct Extract Interface that describes the interface the tool must implement.
Arguments
| Name | Req | Description | Default |
|---|---|---|---|
| task | ✓ | task ID | |
| conf | ✓ | JSON |
|
| temp | ✓ | temp directory path for storing temporary files during execution | |
| import | ✓ | import directory path (for file outputs) | |
| log | ✓ | log file path | |
| out | ✓ | [TBD] the ouptut directory path | |
| post | ✓ | post directory path (for post-import outputs) | |
| cancellation | Path to the cancellation file for detecting cancel requests | ||
| extract | Path to the struct_extract app. Only used if the archive format is xpf. |
||
| pkt_models | [TBD] models to use packet time by default | ||
| plot | ✓ | Path to app that generates plot PDFs | |
| python | ✓ | Path to the Python executable used by the plot app | |
| host | tunnel host | "localhost" |
|
| port | tunnel port | 41746 |
JSON Configuration
| Name | Type | Req | Description | Default |
|---|---|---|---|---|
utf8text |
✓ | |||
utf8text |
2024_06_12_00_00_00_2024_06_12_00_20_00_profile_label |
|
||
utf8text |
||||
| start | instant(us) |
✓ | Start time of data to export | |
| end | instant(us) |
✓ | End time of data to export | |
utf8text |
CSV mn_ids "1,2-10,100" or ext_id formatted string e.g. "@[1,4-8,12,100-200]sci;@[2,3]raw" |
|||
UUID |
Event UUID start and end. |
|||
list(struct_auto_conf) |
|
|||
| ||||
| The plot configuration used to generate the plot |
One mnemonic per plot, one plot per page, sorted by mn_id in ascending order. |
|||
struct_data_conf |
See |
|||
| disable_filter | boolean |
If true, does not apply the filters defined in data_conf. |
false | |
| copy | boolean |
[TBD REMOVE] | ||
| multi | boolean |
[TBD | ||
| ||||
Operation
Extract data from archive files to produce Export Task products:
- Full resolution mnemonic data with a configurable format
- Mnemonic Statistics
- Configurable Plots of data
- Limit Report
- Events