Leash Datamerge and saxsdmerge Schema¶
The data merge tool can merge (join) log files with data from the images and create consolidated data files for archiving an further processing.
The ‘*‘ signifies a required Field.
Type: | object |
---|---|
Contains: | TimeOffset*, LogDataTables, OutputFormats*, OutputFileBaseName*, HDFOptions* |
Required: | False |
JSON Path: |
Example JSON:
{
"TimeOffset": "0",
"HDFOptions": {
"IncludeCHI": false,
"IncludeTIF": false
},
"OutputFormats": {
"exel": false,
"hdf": false,
"json": false,
"csv": false
},
"OutputFileBaseName": "../results/merged"
}
TimeOffset¶
If offset is not found otherwise, use this as offset for all log data
Type: | number in Seconds |
---|---|
Required: | True |
Default: | 0 |
JSON Path: |
|
Example JSON:
{"TimeOffset": "0"}
LogDataTables¶
Define log files to consolidate with image data. If more then one defined, they will be joined and missing values will be interpolated.
Type: | array() items: {TimeEpoch, TimeOffset, FirstImageCorrelation, Name, Files} |
---|---|
Required: | False |
JSON Path: |
|
Example JSON:
{"LogDataTables": []}
TimeEpoch¶
Time epoch
Type: | string |
---|---|
values: | [Mac, Unix] |
Required: | True |
Default: | Mac |
JSON Path: |
|
Example JSON:
{"TimeEpoch": "Mac"}
TimeOffset¶
If offset is not found otherwise, use this as offset.
Type: | number in Seconds |
---|---|
Required: | True |
Default: | 0 |
JSON Path: |
|
Example JSON:
{"TimeOffset": "0"}
FirstImageCorrelation¶
Find offset for all log data by correlating first image with first entry of this table.
Type: | boolean |
---|---|
Required: | True |
Default: | False |
JSON Path: |
|
Example JSON:
{"FirstImageCorrelation": false}
Name¶
Name field to be used as prefix in the joined collumn names.
Type: | string |
---|---|
Required: | True |
Default: | log |
JSON Path: |
|
Example JSON:
{"Name": "log"}
Files¶
One log table may be one file, or a list of files to be concatenated.
Type: | array() items: {RemotePath, LocalPath} |
---|---|
Required: | False |
JSON Path: |
|
Example JSON:
{"Files": []}
RemotePath¶
Path of logfile on server if used in server mode.
Type: | array() items: string |
---|---|
Required: | False |
JSON Path: |
|
Example JSON:
{"RemotePath": []}
LocalPath¶
Path of logfile on client. Overrides RemotePath.
Type: | string |
---|---|
Required: | False |
JSON Path: |
|
Example JSON:
{"LocalPath": ""}
OutputFormats¶
List of outputformats to write the consolidated log or the consolidated ‘hdf’ file.
Type: | object |
---|---|
Contains: | |
Required: | True |
JSON Path: |
|
Example JSON:
{
"OutputFormats": {
"exel": false,
"hdf": false,
"json": false,
"csv": false
}
}
csv¶
Type: | boolean |
---|---|
Required: | True |
Default: | False |
JSON Path: |
|
Example JSON:
{"csv": false}
hdf¶
Type: | boolean |
---|---|
Required: | True |
Default: | False |
JSON Path: |
|
Example JSON:
{"hdf": false}
exel¶
Type: | boolean |
---|---|
Required: | True |
Default: | False |
JSON Path: |
|
Example JSON:
{"exel": false}
json¶
Type: | boolean |
---|---|
Required: | True |
Default: | False |
JSON Path: |
|
Example JSON:
{"json": false}
OutputFileBaseName¶
Type: | string |
---|---|
Required: | True |
Default: | ../results/merged |
JSON Path: |
|
Example JSON:
{"OutputFileBaseName": "../results/merged"}
HDFOptions¶
Options only relevant to hdf export.
Type: | object |
---|---|
Contains: | |
Required: | True |
JSON Path: |
|
Example JSON:
{"HDFOptions": {"IncludeCHI": false,"IncludeTIF": false}}
IncludeCHI¶
Whether to include the .chi files as strings.
Type: | boolean |
---|---|
Required: | True |
Default: | False |
JSON Path: |
|
Example JSON:
{"IncludeCHI": false}
IncludeTIF¶
Whether to include the images as integer array.
Type: | boolean |
---|---|
Required: | True |
Default: | False |
JSON Path: |
|
Example JSON:
{"IncludeTIF": false}