Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…eost into feature/docs
  • Loading branch information
Erik-Geo committed Dec 4, 2024
2 parents 73399b6 + 76f8352 commit ece3d4c
Show file tree
Hide file tree
Showing 23 changed files with 612 additions and 121 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ ENV/
*.gml
*.dbf

!data/*.nc

# data
#*.xml
Expand Down
Binary file added data/geotop_usp.nc
Binary file not shown.
3 changes: 2 additions & 1 deletion docs/api_reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ Input/Output <api_reference/io>
VoxelModel <api_reference/voxelmodel>
BroApi <api_reference/bro>
GeoTop <api_reference/bro_geotop>
StratGeotop <api_reference/strat_geotop.rst>
GeoTop selection <api_reference/geotop_selection.rst>
Analysis <api_reference/analysis>
Utils <api_reference/utils>
Enums <api_reference/enums>
```

16 changes: 12 additions & 4 deletions docs/api_reference/analysis.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Analysis
========
==========

.. currentmodule:: geost.analysis

Boreholes
---------
-----------
.. autosummary::
:toctree: generated/

Expand All @@ -15,9 +15,17 @@ Boreholes


Cpts
----
------
.. autosummary::
:toctree: generated/

interpret_cpt.calc_ic
interpret_cpt.calc_lithology
interpret_cpt.calc_lithology


Combine
--------
.. autosummary::
:toctree: generated/

combine.add_voxelmodel_variable
2 changes: 1 addition & 1 deletion docs/api_reference/bro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Constructor


Methods
~~~~~~~
--------
.. autosummary::
:toctree: generated/

Expand Down
14 changes: 14 additions & 0 deletions docs/api_reference/enums.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Enums
=============
.. currentmodule:: geost.enums


UnitEnum
---------
.. autosummary::
:toctree: generated/

UnitEnum
UnitEnum.select_units
UnitEnum.select_values
UnitEnum.to_dict
24 changes: 24 additions & 0 deletions docs/api_reference/geotop_selection.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
GeoTop selection
=================
.. currentmodule:: geost.bro.bro_geotop

StratGeotop
------------
.. autosummary::
:toctree: generated/

StratGeotop
StratGeotop.select_units
StratGeotop.select_values
StratGeotop.to_dict


Lithology
----------
.. autosummary::
:toctree: generated/

Lithology
Lithology.select_units
Lithology.select_values
Lithology.to_dict
32 changes: 0 additions & 32 deletions docs/api_reference/strat_geotop.rst

This file was deleted.

12 changes: 10 additions & 2 deletions docs/api_reference/utils.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ Spatial
spatial.select_points_near_points
spatial.select_points_within_bbox
spatial.select_points_within_polygons
models.model_utils.sample_along_line
models.model_utils.sample_with_coords

Projection
----------
Expand All @@ -26,3 +24,13 @@ Projection
projections.horizontal_reference_transformer
projections.vertical_reference_transformer
projections.xy_to_ll


Model Utils
------------
.. autosummary::
:toctree: generated/

models.model_utils.label_consecutive_2d
models.model_utils.sample_with_coords
models.model_utils.sample_along_line
109 changes: 53 additions & 56 deletions docs/examples/combine_geotop_with_cpts.ipynb

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/user_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ caption: User guide
Data structures <user_guide/data_structures>
Reading data <user_guide/reading_data>
BRO GeoTOP <user_guide/bro_geotop.ipynb>
```

This is the user guide.
Expand Down
Loading

0 comments on commit ece3d4c

Please sign in to comment.