mirror of
https://github.com/Alex38Lyon/Synthese-PSM_LARRA.git
synced 2026-06-01 22:00:53 +00:00
58 lines
1.8 KiB
Markdown
58 lines
1.8 KiB
Markdown
Scripts for Therion
|
||
====================
|
||
|
||
pyThtoDat
|
||
---------
|
||
|
||
Script to convert a database (.sql) generated by Therion
|
||
into Compass (.dat) and (.mak) files
|
||
|
||
Usage: python pyThtoDat.py
|
||
|
||
How to use:
|
||
- Export the .sql file with Therion using the following command in the .thconfig file: 'export database -o Outputs/database.sql'
|
||
- Select the database.sql file to process in the window
|
||
- Define an optional prefix for each station
|
||
|
||
Result: (.dat) and (.mak) files are created in the same folder
|
||
|
||
Note: Stations are named using the order number from the Therion database, not the numbers from the (.th) files
|
||
|
||
|
||
pyCreateTh
|
||
------------
|
||
|
||
Script to automate the creation of folders and files for a .th file
|
||
|
||
Usage: python pyCreateTh.py (pyCreateTh.py --help)
|
||
|
||
How to use:
|
||
- Define the different variables in the config.ini file
|
||
- Create the necessary folders based on the 'template' folder
|
||
- Generate the required files: th, th2, -tot.th
|
||
- Create scraps with topo stations
|
||
|
||
Input : Therion files .th (raw, without folders), .mak or .dat Compass files, .tro from VisualTopo
|
||
|
||
pyThStat
|
||
--------
|
||
|
||
Script to calculate statistics of joined entities from a database File (.sql) Produced by Therion
|
||
|
||
Usage:
|
||
- Export the SQL file using Therion command (.thconfig) : export database -o Outputs/database.sql
|
||
- Command : python pythStat.py ./path/to/file.sql
|
||
- Or : python pythStat.py to open a window
|
||
|
||
|
||
pyThtoBD (in process)
|
||
--------
|
||
|
||
Script to export therion data base to an other like Karsteau
|
||
|
||
Usage:
|
||
- Place Export_bd.ini files in each of the cave directories to be exported.
|
||
- Run python pyThtoBD.py, then select the Therion folder to export.
|
||
- Results for Karsteau will be in the /Outputs/Export_bd/ directory.
|
||
- Coming soon – Import the export results into Karsteau.
|
||
|