codingeologist / CPT-Data-Visualisation

Geotechnical Cone Penetration Testing Data Visualisation
BSD 3-Clause "New" or "Revised" License
14 stars 4 forks source link

AGS #1

Open pedromorgan opened 5 years ago

pedromorgan commented 5 years ago

Following on from https://www.reddit.com/r/Geotech/comments/buwqmz/geotechnical_tools/

Had a look at the code etc, and don't understand the math, but recognise the excel/headers as ags data..

So thinking about the ogt-py project, it would be easy to integrate.

The current code, reads an ags into an "object/dict", and makes stuff available eg some psuedo code of WIP

agsdoc = OgtDoc()
err = agsdoc.load_ags4("example.ags")
rows = agsdoc.get_data(["SAMP-REF", "DEPTH_TOP"])

it also serialises the stuff to ags.json, so it can be sent to mobiles easily etc.

pedromorgan commented 5 years ago

Also am using pyqt5 which looks something like this https://stackoverflow.com/questions/53157230/embed-a-matplotlib-plot-in-a-pyqt5-gui

pedromorgan commented 5 years ago

In OGT project, i need depths...

All is needed it a

So the viz is embarrasing, but in control of gui, HOW ?? Its hacked by creating a "grid" and each element 10px or alike and pure qt5 and simple its a placeholder... for what would be a full or graph/3d model etc... ;-)

codinggeologist

So @codingeologist, we can make the "image" clickable and back to root data ? if we do that.. it would be amazing..