Skip to content

Commit

Permalink
geological
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlangrose committed Jan 31, 2024
1 parent 43be2d0 commit 975184b
Show file tree
Hide file tree
Showing 7 changed files with 109 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: bc5b970d010b44222d3e8f114e3fbe62
config: 41df95f0b456467426b3a4993c4edb55
tags: 645f666f9bcd5a90fca523b33c5a78b7
10 changes: 10 additions & 0 deletions _sources/API.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
API
---

.. autosummary::
:caption: API
:toctree: _autosummary
:template: custom-module-template.rst
:recursive:

map2loop
94 changes: 94 additions & 0 deletions _sources/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
.. map2loop documentation master file, created by
sphinx-quickstart on Wed Jan 17 15:48:56 2024.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Map2loop 3.0.x
====================================

Generate 3D geological model inputs from geological maps — a high-level implementation and extension of the original map2loop code developed by Prof. Mark Jessell at UWA.
To see an example interactive model built with map2loop and LoopStructural, follow this link:

.. raw:: html
:file: http://tectonique.net/models/brockman_syncline.html



Usage
------

Our notebooks cover use cases in more detail, but here is an example of processing Loop's South Australia remote geospatial data in just 20 lines of Python.

First, lets import map2loop and define a bounding box. You can use GIS software to find one. Remember what projection your coordinates are in!

.. code-block::
from map2loop.project import Project
from map2loop.m2l_enums import VerboseLevel
# Note that this region is defined in the EPSG 28354 projection and
# x and y represent easting and northing respectively
bbox_3d = {
'minx': 250805.1529856466,
'miny': 6405084.328058686,
'maxx': 336682.921539395,
'maxy': 6458336.085975628,
'base': -3200,
'top': 1200
}
Then, specify: the state, directory for the output, the bounding box and projection from above - and hit go! That's it.

.. code-block::
proj = Project(use_australian_state_data = "SA",
working_projection = 'EPSG:28354',
bounding_box = bbox_3d,
loop_project_filename = "output.loop3d"
)
proj.run_all()
This is a minimal example and a small part of Loop.

Our *documentation and other resources outline how to extend map2loop and port to the LoopStructural modelling engine. We are working to incorporate geophysical tools and best provide visualisation and workflow consolidation in the GUI.*

*Loop is led by Laurent Ailleres (Monash University) with a team of Work Package leaders from:*

- *Monash University: Roy Thomson, Lachlan Grose and Robin Armit*
- *University of Western Australia: Mark Jessell, Jeremie Giraud, Mark Lindsay and Guillaume Pirot*
- *Geological Survey of Canada: Boyan Brodaric and Eric de Kemp*



Known Issues and FAQs
~~~~~~~~~~~~~~~~~~~~~~~
- Developing with docker on Windows means you won't have GPU passthrough and can’t use a discrete graphics card in the container even if you have one.
- If Jupyter links require a token or password, it may mean port 8888 is already in use. To fix, either make docker map to another port on the host ie -p 8889:8888 or stop any other instances on 8888.

Links
~~~~~~

`https://loop3d.github.io/ <https://loop3d.github.io/>`_

`https://github.com/Loop3D/LoopStructural <https://github.com/Loop3D/LoopStructural>`_



.. toctree::
:hidden:

user_guide/index
_auto_examples/index
CHANGLOG.md

.. autosummary::
:caption: API
:toctree: _autosummary
:template: custom-module-template.rst
:recursive:

map2loop
2 changes: 1 addition & 1 deletion _sources/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Map2loop 3.0.x
====================================

Generate 3D geological model inputs from geographical maps — a high-level implementation and extension of the original map2loop code developed by Prof. Mark Jessell at UWA. To see an example interactive model built with map2loop and LoopStructural, follow this link:
Generate 3D geological model inputs from geolocial maps — a high-level implementation and extension of the original map2loop code developed by Prof. Mark Jessell at UWA. To see an example interactive model built with map2loop and LoopStructural, follow this link:

.. raw:: html
:file: http://tectonique.net/models/brockman_syncline.html
Expand Down
10 changes: 1 addition & 9 deletions _sources/user_guide/getting_started.rst.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,2 @@
Getting started
===============

h2
~~

h3

.. code-block:
===============
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@

<section id="map2loop-3-0-x">
<h1>Map2loop 3.0.x<a class="headerlink" href="#map2loop-3-0-x" title="Link to this heading">#</a></h1>
<p>Generate 3D geological model inputs from geographical maps — a high-level implementation and extension of the original map2loop code developed by Prof. Mark Jessell at UWA. To see an example interactive model built with map2loop and LoopStructural, follow this link:</p>
<p>Generate 3D geological model inputs from geolocial maps — a high-level implementation and extension of the original map2loop code developed by Prof. Mark Jessell at UWA. To see an example interactive model built with map2loop and LoopStructural, follow this link:</p>
<section id="usage">
<h2>Usage<a class="headerlink" href="#usage" title="Link to this heading">#</a></h2>
<p>Our notebooks cover use cases in more detail, but here is an example of processing Loop’s South Australia remote geospatial data in just 20 lines of Python.</p>
Expand Down
Loading

0 comments on commit 975184b

Please sign in to comment.