mirror of
https://github.com/Alex38Lyon/Synthese-PSM_LARRA.git
synced 2026-06-01 22:00:53 +00:00
Scripts
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
====================
|
||||
Scripts for Therion
|
||||
====================
|
||||
|
||||
---------
|
||||
pyThtoDat
|
||||
---------
|
||||
|
||||
.. centered:: Script to convert a database (.sql) generated by Therion
|
||||
.. centered:: 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
|
||||
|
||||
------------
|
||||
pyCreate_th2
|
||||
------------
|
||||
|
||||
.. centered:: Script to automate the creation of folders and files for a .th file
|
||||
|
||||
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
|
||||
|
||||
Usage: python pyCreate_th2.py
|
||||
Reference in New Issue
Block a user