Skip to content

TOMOFAST/tomofast-x-q

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tomofast-x QGIS Plugin

QGIS Plugin to help Tomofast-x usage

Install

Save repository to disk as a zip file. Use QGIS Plugin Manager to load directly from zip file.

Simple instructions

Select tomofast-x-q plugin and Select Import existing field databases tab
tomofast dialog tab 1
A. Optionally pre-load an existing paramfile from disk [Step 0]
B. Select Grav, mag or both Inversion stype [Step 1]
C. Select a data layer (csv or tif format), define input and output projections, and Load data [Step 2a or Step 3a]
D. If csv data, select fields for lat_x, long_y & data [Step 2b or Step 3b, data loaded to QGIS once Assign fields button selected]
E. Select DTM tif file or use constant value [Step 4 reprojected dtm loaded to QGIS]
F. Specify mesh parameters (optionally defined from max/min extents of a polygon shapefile) and output directory for mesh and parameter files. Check Model Grid Size to make sure the mesh is not stupidly large.
G. Define compression amount. Check the Estimated Memory Requirements to make sure you run the inversion on a computer with enough memory.
[Step 5 mesh and data files written out and loaded to QGIS]

Select Global Parameters tab
tomofast dialog tab 2
H. Specify Global Inversion parameters

Select Grav/Mag Parameters tab
tomofast dialog tab 3
I. For mag survey autofill (using centroid of mesh) or define Magnetic Field parameters
J. Modify parameters and then save out Parameter File by clicking on Save Parameter File button [Parameter file written out]

Run tomofast-x from command line using the just-generated files
tomofast dialog tab 4
K. If you have tomofast-x installed on your machine, you can run it directly from this tab, after defining the path to the tomofastx executable and the paramfile, and the number of processors to use.

Under Windows this can only be run via WSL2 (Windows Subsystem For Linux v2), so you will need to specify which Linux Distribution is installed and use the predefined Command as provided. (Direct control has not been tested for Macs and under Linux doesn't seem to work...)

Otherwise copy these files to another machine and run tomofast-x there (but you will have to fix the paths in the paramfile.txt file first)

  • data_magn.csv and/or data_grav.csv: observed geophysical response
  • model_grid.txt: Model mesh
  • paramfile.txt: parameter definition file

Credits

Plugin construction - Mark Jessell using QGIS Plugin Builder Plugin and code from Vitaliy Ogarko
Tomofast-x - Vitaliy Ogarko
IGRF calculation - https://github.com/klaundal/ppigrf