Files
thor-watcher/doc/file-path.md
T

63 lines
2.2 KiB
Markdown

# Thor File Stucture Guide
This document is to explain how Thor formatis the file structure for units that call in via thor Autocall home.
## Main Stucture
Thor saves its data in a folder located in C:/ called 'THORDATA'. it then Creates folders for each user entered project. When a unit is added to that project, it creates a folder in project with that unit's serial number. Raw events (.IDFH for histogram and .IDFW for waveforms) plus .MLG monitor logs are then saved in this folder. if a unit is not assigned a project, it saves into a default project folder. If it matters, there is also a daily log file that gets created in the folder 'Logs'
In each unit's folder, there are various formats saved in their own individual folders too. Most cases have CSV, HTML, PDF, TXT, and XML
Here is the structure illustrated:
C:/THORDATA
├───Mon-Fayette Express Way - Sec 53A1
│ └───UM11402
│ ├───CSV
│ ├───HTML
│ ├───PDF
│ ├───TXT
│ └───XML
├───P.J. Dick - 5th and Halket
│ ├───UM11719
│ │ ├───CSV
│ │ ├───HTML
│ │ ├───PDF
│ │ ├───TXT
│ │ └───XML
│ UM12420
│ ├───CSV
│ ├───HTML
│ ├───PDF
│ ├───TXT
│ └───XML
Here is an expanded project folder with two events in it
└───Clearwater - ECMS 57940
└───BE9439
│ BE9439_20200713124250.MLG
│ BE9439_20200713124251.IDFH
│ BE9439_20200713131747.IDFW
│ BE9439_20200713131747.IDFW.CDB
├───CSV
│ BE9439_20200713124251.IDFH.csv
│ BE9439_20200713131747.IDFW.csv
├───PDF
│ BE9439_20200713124251.IDFH.pdf
│ BE9439_20200713131747.IDFW.pdf
├───TXT
│ BE9439_20200713124251.IDFH.txt
│ BE9439_20200713131747.IDFW.txt
└───XML
BE9439_20200713124251_IDFH_XML.XML
BE9439_20200713131747_IDFW_XML.XML