diff --git a/examples/ntgs_example_1.ipynb b/examples/ntgs_example_1.ipynb index 857017c..ebde219 100644 --- a/examples/ntgs_example_1.ipynb +++ b/examples/ntgs_example_1.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": 2, + "execution_count": null, "id": "initial_id", "metadata": { "ExecuteTime": { @@ -24,7 +24,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": null, "id": "eec0e1145cd2b0c6", "metadata": { "ExecuteTime": { @@ -53,19 +53,10 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": null, "id": "c100ae76", "metadata": {}, - "outputs": [ - { - "name": "stderr", - "output_type": "stream", - "text": [ - "/home/rabii/Git_Repos/m2l_pypi/lib/python3.11/site-packages/osgeo/gdal.py:312: FutureWarning: Neither gdal.UseExceptions() nor gdal.DontUseExceptions() has been explicitly called. In GDAL 4.0, exceptions will be enabled by default.\n", - " warnings.warn(\n" - ] - } - ], + "outputs": [], "source": [ "xmin, ymax = 194970,7342378\n", "xmax, ymin = 348104,7306552\n", @@ -89,7 +80,7 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": null, "id": "2cefe141abea8187", "metadata": { "ExecuteTime": { @@ -131,7 +122,7 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": null, "id": "826effa7a96f801f", "metadata": { "ExecuteTime": { @@ -158,64 +149,7 @@ "start_time": "2024-09-16T05:49:12.424661Z" } }, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Datatype FAULT is not set and so cannot be loaded\n", - "\n", - "Datatype FAULT_ORIENTATION is not set and so cannot be loaded\n", - "\n", - "Datatype FAULT is not set and so cannot be loaded\n", - "\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "\n", - "/home/rabii/Git_Repos/m2l_pypi/lib/python3.11/site-packages/numpy/lib/_nanfunctions_impl.py:1241: RuntimeWarning: Mean of empty slice\n", - " return np.nanmean(a, axis, out=out, keepdims=keepdims)\n", - "/home/rabii/Git_Repos/map2loop/map2loop/thickness_calculator.py:361: RuntimeWarning: Mean of empty slice\n", - " mean = numpy.nanmean(_thickness)\n", - "/home/rabii/Git_Repos/m2l_pypi/lib/python3.11/site-packages/numpy/lib/_nanfunctions_impl.py:2053: RuntimeWarning: Degrees of freedom <= 0 for slice.\n", - " var = nanvar(a, axis=axis, dtype=dtype, out=out, ddof=ddof,\n", - "/home/rabii/Git_Repos/m2l_pypi/lib/python3.11/site-packages/numpy/lib/_nanfunctions_impl.py:1241: RuntimeWarning: Mean of empty slice\n", - " return np.nanmean(a, axis, out=out, keepdims=keepdims)\n", - "/home/rabii/Git_Repos/map2loop/map2loop/thickness_calculator.py:361: RuntimeWarning: Mean of empty slice\n", - " mean = numpy.nanmean(_thickness)\n", - "/home/rabii/Git_Repos/m2l_pypi/lib/python3.11/site-packages/numpy/lib/_nanfunctions_impl.py:2053: RuntimeWarning: Degrees of freedom <= 0 for slice.\n", - " var = nanvar(a, axis=axis, dtype=dtype, out=out, ddof=ddof,\n", - "/home/rabii/Git_Repos/m2l_pypi/lib/python3.11/site-packages/numpy/lib/_nanfunctions_impl.py:1241: RuntimeWarning: Mean of empty slice\n", - " return np.nanmean(a, axis, out=out, keepdims=keepdims)\n", - "/home/rabii/Git_Repos/map2loop/map2loop/thickness_calculator.py:361: RuntimeWarning: Mean of empty slice\n", - " mean = numpy.nanmean(_thickness)\n", - "/home/rabii/Git_Repos/m2l_pypi/lib/python3.11/site-packages/numpy/lib/_nanfunctions_impl.py:2053: RuntimeWarning: Degrees of freedom <= 0 for slice.\n", - " var = nanvar(a, axis=axis, dtype=dtype, out=out, ddof=ddof,\n", - "/home/rabii/Git_Repos/m2l_pypi/lib/python3.11/site-packages/numpy/lib/_nanfunctions_impl.py:1241: RuntimeWarning: Mean of empty slice\n", - " return np.nanmean(a, axis, out=out, keepdims=keepdims)\n", - "/home/rabii/Git_Repos/map2loop/map2loop/thickness_calculator.py:361: RuntimeWarning: Mean of empty slice\n", - " mean = numpy.nanmean(_thickness)\n", - "/home/rabii/Git_Repos/m2l_pypi/lib/python3.11/site-packages/numpy/lib/_nanfunctions_impl.py:2053: RuntimeWarning: Degrees of freedom <= 0 for slice.\n", - " var = nanvar(a, axis=axis, dtype=dtype, out=out, ddof=ddof,\n", - "/home/rabii/Git_Repos/m2l_pypi/lib/python3.11/site-packages/numpy/lib/_nanfunctions_impl.py:1241: RuntimeWarning: Mean of empty slice\n", - " return np.nanmean(a, axis, out=out, keepdims=keepdims)\n", - "/home/rabii/Git_Repos/map2loop/map2loop/thickness_calculator.py:361: RuntimeWarning: Mean of empty slice\n", - " mean = numpy.nanmean(_thickness)\n", - "/home/rabii/Git_Repos/m2l_pypi/lib/python3.11/site-packages/numpy/lib/_nanfunctions_impl.py:2053: RuntimeWarning: Degrees of freedom <= 0 for slice.\n", - " var = nanvar(a, axis=axis, dtype=dtype, out=out, ddof=ddof,\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Cannot calculate thickness between Areyonga_Formation and Wallara_Formation\n" - ] - } - ], + "outputs": [], "source": [ "import os\n", "from map2loop.project import Project\n", @@ -311,7 +245,7 @@ }, { "cell_type": "code", - "execution_count": 16, + "execution_count": null, "id": "ff57608c97e4e81e", "metadata": { "ExecuteTime": { @@ -319,456 +253,7 @@ "start_time": "2024-09-16T05:49:14.295627Z" } }, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - " | layerId | \n", - "name | \n", - "minAge | \n", - "maxAge | \n", - "group | \n", - "supergroup | \n", - "ThicknessMean | \n", - "ThicknessMedian | \n", - "ThicknessStdDev | \n", - "Order | \n", - "code | \n", - "colour | \n", - "
---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | \n", - "17 | \n", - "Petermann_Sandstone | \n", - "-9999.0 | \n", - "-9999.0 | \n", - "Pertaoorrta_Group | \n", - "\n", - " | -1.000000 | \n", - "-1.000000 | \n", - "0.000000 | \n", - "0 | \n", - "NaN | \n", - "#5d7e60 | \n", - "
1 | \n", - "5 | \n", - "Goyder_Formation | \n", - "-9999.0 | \n", - "-9999.0 | \n", - "Pertaoorrta_Group | \n", - "\n", - " | 3668.940167 | \n", - "3589.297676 | \n", - "2127.527909 | \n", - "1 | \n", - "NaN | \n", - "#cffb86 | \n", - "
2 | \n", - "4 | \n", - "Deception_Formation | \n", - "-9999.0 | \n", - "-9999.0 | \n", - "Pertaoorrta_Group | \n", - "\n", - " | 1933.687423 | \n", - "2208.698147 | \n", - "842.611740 | \n", - "2 | \n", - "NaN | \n", - "#1932e2 | \n", - "
3 | \n", - "8 | \n", - "Illara_Sandstone | \n", - "-9999.0 | \n", - "-9999.0 | \n", - "Pertaoorrta_Group | \n", - "\n", - " | 2598.279283 | \n", - "1892.357870 | \n", - "2365.236767 | \n", - "3 | \n", - "NaN | \n", - "#f48b70 | \n", - "
4 | \n", - "20 | \n", - "Tempe_Formation | \n", - "-9999.0 | \n", - "-9999.0 | \n", - "Pertaoorrta_Group | \n", - "\n", - " | 913.773037 | \n", - "990.946677 | \n", - "238.283383 | \n", - "4 | \n", - "NaN | \n", - "#e7f2f3 | \n", - "
5 | \n", - "12 | \n", - "Namatjira_Formation | \n", - "-9999.0 | \n", - "-9999.0 | \n", - "Pertaoorrta_Group | \n", - "\n", - " | 3551.250897 | \n", - "3492.853066 | \n", - "1170.594319 | \n", - "5 | \n", - "NaN | \n", - "#628304 | \n", - "
6 | \n", - "3 | \n", - "Chandler_Formation | \n", - "-9999.0 | \n", - "-9999.0 | \n", - "Pertaoorrta_Group | \n", - "\n", - " | 23124.380342 | \n", - "23026.421580 | \n", - "345.009023 | \n", - "6 | \n", - "NaN | \n", - "#16c432 | \n", - "
7 | \n", - "1 | \n", - "Arumbera_Sandstone | \n", - "-9999.0 | \n", - "-9999.0 | \n", - "Pertaoorrta_Group | \n", - "\n", - " | NaN | \n", - "NaN | \n", - "NaN | \n", - "7 | \n", - "NaN | \n", - "#106e8a | \n", - "
8 | \n", - "16 | \n", - "Pertatataka_Formation | \n", - "-9999.0 | \n", - "-9999.0 | \n", - "None | \n", - "\n", - " | NaN | \n", - "NaN | \n", - "NaN | \n", - "8 | \n", - "NaN | \n", - "#0c2562 | \n", - "
9 | \n", - "13 | \n", - "No_formal_name | \n", - "-9999.0 | \n", - "-9999.0 | \n", - "None | \n", - "\n", - " | 5890.094186 | \n", - "6250.486236 | \n", - "2480.650442 | \n", - "9 | \n", - "NaN | \n", - "#387866 | \n", - "
10 | \n", - "15 | \n", - "Parke_Siltstone | \n", - "-9999.0 | \n", - "-9999.0 | \n", - "Pertnjara_Group | \n", - "\n", - " | 181.808842 | \n", - "141.242405 | \n", - "92.580887 | \n", - "10 | \n", - "NaN | \n", - "#7c2e17 | \n", - "
11 | \n", - "6 | \n", - "Hermannsburg_Sandstone | \n", - "-9999.0 | \n", - "-9999.0 | \n", - "Pertnjara_Group | \n", - "\n", - " | 19720.048118 | \n", - "20441.336449 | \n", - "10755.047271 | \n", - "11 | \n", - "NaN | \n", - "#5fb3c5 | \n", - "
12 | \n", - "14 | \n", - "Pacoota_Sandstone | \n", - "-9999.0 | \n", - "-9999.0 | \n", - "Larapinta_Group | \n", - "\n", - " | 5559.331744 | \n", - "5559.331744 | \n", - "0.000000 | \n", - "12 | \n", - "NaN | \n", - "#47d10a | \n", - "
13 | \n", - "7 | \n", - "Horn_Valley_Siltstone | \n", - "-9999.0 | \n", - "-9999.0 | \n", - "Larapinta_Group | \n", - "\n", - " | NaN | \n", - "NaN | \n", - "NaN | \n", - "13 | \n", - "NaN | \n", - "#d0d47c | \n", - "
14 | \n", - "18 | \n", - "Stairway_Sandstone | \n", - "-9999.0 | \n", - "-9999.0 | \n", - "Larapinta_Group | \n", - "\n", - " | 9266.885939 | \n", - "8789.360859 | \n", - "6283.667001 | \n", - "14 | \n", - "NaN | \n", - "#6710c2 | \n", - "
15 | \n", - "19 | \n", - "Stokes_Siltstone | \n", - "-9999.0 | \n", - "-9999.0 | \n", - "Larapinta_Group | \n", - "\n", - " | 4470.640254 | \n", - "2442.264688 | \n", - "4201.179898 | \n", - "15 | \n", - "O__st_sk | \n", - "#EED1FE | \n", - "
16 | \n", - "2 | \n", - "Carmichael_Sandstone | \n", - "-9999.0 | \n", - "-9999.0 | \n", - "Larapinta_Group | \n", - "\n", - " | NaN | \n", - "NaN | \n", - "NaN | \n", - "16 | \n", - "NaN | \n", - "#a2f290 | \n", - "
17 | \n", - "11 | \n", - "Mereenie_Sandstone | \n", - "-9999.0 | \n", - "-9999.0 | \n", - "None | \n", - "\n", - " | 10680.220082 | \n", - "11270.655102 | \n", - "3626.074687 | \n", - "17 | \n", - "SD__me_st | \n", - "#F7E8FE | \n", - "
18 | \n", - "10 | \n", - "Loves_Creek_Formation | \n", - "-9999.0 | \n", - "-9999.0 | \n", - "Bitter_Springs_Group | \n", - "\n", - " | NaN | \n", - "NaN | \n", - "NaN | \n", - "18 | \n", - "NaN | \n", - "#fb0fda | \n", - "
19 | \n", - "9 | \n", - "Johnnys_Creek_Formation | \n", - "-9999.0 | \n", - "-9999.0 | \n", - "Bitter_Springs_Group | \n", - "\n", - " | 5745.124346 | \n", - "5748.113454 | \n", - "1256.053874 | \n", - "19 | \n", - "NaN | \n", - "#8e9aef | \n", - "
20 | \n", - "0 | \n", - "Areyonga_Formation | \n", - "-9999.0 | \n", - "-9999.0 | \n", - "None | \n", - "\n", - " | 10116.189039 | \n", - "10656.575291 | \n", - "3033.138147 | \n", - "20 | \n", - "NaN | \n", - "#74fbf4 | \n", - "
21 | \n", - "21 | \n", - "Wallara_Formation | \n", - "-9999.0 | \n", - "-9999.0 | \n", - "None | \n", - "\n", - " | -1.000000 | \n", - "-1.000000 | \n", - "0.000000 | \n", - "21 | \n", - "NaN | \n", - "#a2daa5 | \n", - "