# #t20-gostin Summary
###### tags: `t20-gostin`
[Toc]
## Resources
- This document: https://hackmd.io/@prisae/summary
- Brainstorming: https://hackmd.io/@prisae/t20-gostin-ideas
- Youtube: https://www.youtube.com/playlist?list=PLd9tNwsUm9jN0na4vLXiuP_AJNuLRSsYl
- Miro board: https://miro.com/app/board/o9J_kqjmPOY=/
- gostin repo: https://github.com/softwareunderground/gostin
- subsurface repo: https://github.com/softwareunderground/subsurface
## Idea
**Honey-pot or umbrella project for all non-seismic stuff in Swung.**
- Part I: **Case-Studies** (First weekend and during the week): Try to create cross-community examples, try to figure out what works well, and what needs improvement.
- Part II: **subsurface** (Second weekend): Discuss what it needs for a `subsurface`-package, agree on a few initial things, and get started.
## Numbers
- 54 members in the Slack channel
- Miguel, Bane, Dom, Richard, Andrew, Martin, Wesley, Alexander, Aaron, Dieter
- Leouida, Lindsey, Rowan, Mark Jessel, Brian, Franklin, Jesper, Florian, Alexander Jüstel
- And many more...
- Involved communities
- **GemPy** [Miguel, Alexander, ...]
- **SimPEG** [Dom, Lindsey, Rowan]
- **PyVista** [Bane]
- **Fatiando** [Leouida, ...]
- **pyGIMLi** [Florian Wagner, ...]
- And also
- map2loop [Mark Jessel]
- OMF [Franklin, Rowan]
## Part I: Cross-community show cases
- Ensure things work together smoothly
- `environment.yml` (in gostin-repo, Dieter)
- Docker-file (gostin-repo, PR, Bane)
- Fix some Travis for GemPy (Dieter)
- Get GemPy on `conda-forge` (Andrew)

- Awesome notebooks
- **Fatiando to GemPy** (gostin-repo; Martin)

- **GemPy to PyGIMLy** (gostin-repo; Aaron)

- **Petrel to GemPy/PyVista** (gostin-repo; Alexander Schaaf)

- **Hyperspectral to Geology; map2loop to GemPy** (Richard in his gostin-repo)
Take **remote sensing raster**, break it down into possible **minerals** (rasterio, pysptools) and google earth engine automation - but can get data from anywhere. Compare to spectral library. Classify. Polygonize (gdal) to map. Which if I had more time, feed to: Curnamona Map to Loop as part of the **mineral occurrence dataset**. This uses map2loop and outputs Gempy model. With a *bit of webscraping to get stratigraphic ages*, (and rasterio/geopandas).
- [Notebook 1](https://github.com/bluetyson/gostin/blob/ideasnotebook/notebooks/Hyperspectral%20to%20Geology.ipynb)
- [Notebook 2](https://github.com/bluetyson/gostin/blob/ideasnotebook/notebooks/Curnamona%20map2loop.ipynb)

- **Gempy + simpeg + PyVista + geoh5py (ANALYST pro) all talking to each other.** (Dom)

:arrow_right: geoh5 looks like a good output/disk format, based on HDF5, but optimised for geoscience already. Is open: https://geoh5py.readthedocs.io/en/latest/index.html and https://gist.github.com/jincandescent/06a3bd4e0e54360ad191 for reference.
## Part II: Subsurface
Transform2019, initially with seismic in mind (I think). From GitHub-commit log Matt Hall, Alexander Schaaf, Jesper Dramsch, and maybe others at Transform2019.
**"Doesn’t matter how good it is initially, but we have to agree that we use it"** (Rowan)
Communities committed so far:
- GemPy (Miguel)
- SimPEG (Dom)
- PyVista (Bane)
- Fatiando (Martin, Leo/Santiago?)
- pyGIMLi (Aaron, Florian Wagner?)
- map2loop (Mark Jessell signalled that he is interested)
Expertise from formats
- OMF Expertise: Franklin, Rowan
- OGC: Andrew
### Progress on `subsurface`
- general concept and goal
- structure: levels of abstraction and package structure
- First prototype of some geometric sutructures based on pandas
- First prototype of reading data to subsurface using welly
- https://softwareunderground/subsurface
- Currently in branches (`dev_mig`)
- PR from Bane with a skeleton for the required underlying data structures that can be built on with extra attributes: https://github.com/softwareunderground/subsurface/pull/12
- These will easily be usable in pyVista, and are being created as 3D objects first.
## ! Transform2021 !
- Sprints to fix issues and bugs in `subsurface`
- Sprints to onboard more communities / formats
- Show-cases