cgre-aachen / pynoddy

pynoddy is a python package to write, change, and analyse kinematic geological modelling simulations performed with Noddy.
GNU General Public License v2.0
71 stars 31 forks source link

Fault CSV to PyNoddy history #28

Closed ahinoamp closed 4 years ago

ahinoamp commented 4 years ago

This code takes a .csv file with fault vertices information and transforms it into a PyNoddy history file.

See this binder for example of use: https://mybinder.org/v2/gh/ahinoamp/PyNoddyExamples/master?filepath=Example3DvisualizationPyNoddy.ipynb

The code makes additions to the history.py file and adds two example files in python and ipynb (jupyter notebook format)

Extra note: The fault vertices information is created by :

  1. Creating fault lines in QGIS with a dipdirection ("dipdirecti" after export) and id
  2. using "Extract Vertices" tool to extract the vertices,
  3. adding the x and y information using the field calculator in the table view,
  4. and then exporting to csv.
flohorovicic commented 4 years ago

Thanks a lot again, @ahinoamp! Fantastic contributions, really help making the use of pynoddy a lot more intuitive.