<jupyter_start><jupyter_text>Quick Start Guide Notebook showing basic functionality of `Well.py`<jupyter_code>#import
import Well as w
from Well import Well<jupyter_output><empty_output><jupyter_text>Creating a Single Well Create the well firstCreate a well and specify parameters if known<jupyter_code>G881 = Well(name='G-88-1', elevation=233.84, project='06-0899-266-01', logged_by='TW', date=1988,
           xcoord=628623.92, ycoord=5534173.82)<jupyter_output><empty_output><jupyter_text>Add intervals to the created wellAdd intervals to the well specifying top and bottom and optionally adding a descriptionNote:- Intervals *do not* have to be added in a top to bottom order- Lithologies are currently limited to those in the plotting dictionary (see code)- Descriptions in the middle of a unit may be added by simply breaking the interval into different sections (see 'Clay' unit below)<jupyter_code>G881.add_interval(top=0, bottom=0.75, lithology='Fill', description='Topsoil with clay and granular fill below')
G881.add_interval(top=0.75, bottom=1.75, lithology='Silt', description='Silt; Tan and damp')
G881.add_interval(top=1.75, bottom=5, lithology='Clay', description='Clay; Brown, stiff, with trace silt and minor inclusions')
G881.add_interval(top=5, bottom=8.5, lithology='Clay', description='Clay; Grey, highly plastic, with pockets of till increasing in size with depth')
G881.add_interval(top=8.5, bottom=10.75, lithology='Till', description='Till; Grey and damp with silt and clay, becoming granular with cobbles at depth')<jupyter_output><empty_output><jupyter_text>Print a summary of the well<jupyter_code>G881.summary()<jupyter_output>Well Name:  G-88-1
Date Drilled:  1988
Project:  06-0899-266-01
Logged By:  TW
Elevation:  233.84
X and Y Coordinates:  628623.92 5534173.82
  Lithology   Top  Bottom                                        Description
0      Fill     0    0.75          Topsoil with clay and granular fill below
1      Silt  0.75    1.75                                 Silt; Tan and damp
2      Clay  1.75    5.00  Clay; Brown, stiff, with trace silt and minor ...
3      Clay     5    8.50  Clay; Grey, highly plastic, with pockets of ti...
4      Till   8.5   10.75  Till; Grey and damp with silt and clay, becomi...<jupyter_text>Remove intervalsIf a mistake is made, intervals can be removed either by layer number (from surface) or by entire lithology<jupyter_code>G881.remove_interval(layNum=1)
G881.summary()
G881.remove_interval(lithology='Clay')
G881.summary()<jupyter_output>Well Name:  G-88-1
Date Drilled:  1988
Project:  06-0899-266-01
Logged By:  TW
Elevation:  233.84
X and Y Coordinates:  628623.92 5534173.82
  Lithology  Top  Bottom                                        Description
0      Fill    0    0.75          Topsoil with clay and granular fill below
4      Till  8.5   10.75  Till; Grey and damp with silt and clay, becomi...<jupyter_text>The last example above shows how removing using the `lithology` method can be dangerous, as it will remove *all* layers with that lithology Plotting a Single WellA single well can be plotted quickly.  Note that colors and hatches can easily be changed by manipulating the plotting dictionary within the code.<jupyter_code>#add back removed intervals
G881.add_interval(top=0.75, bottom=1.75, lithology='Silt', description='Silt; Tan and damp')
G881.add_interval(top=1.75, bottom=5, lithology='Clay', description='Clay; Brown, stiff, with trace silt and minor inclusions')
G881.add_interval(top=5, bottom=8.5, lithology='Clay', description='Clay; Grey, highly plastic, with pockets of till increasing in size with depth')
G881.plotWell()<jupyter_output><empty_output><jupyter_text>Creating a Cross-sectionIf more than one well is created, a cross-section can be made. G 88-2<jupyter_code>G882 = Well(name='G-88-2', elevation=234.25, project='06-0899-266-01', logged_by='TW', date=1988, 
            xcoord=628358.56, ycoord=5534167.17)
G882.add_interval(top=0, bottom=1.25, lithology='Fill', description='Topsoil with clay and granular fill below')
G882.add_interval(top=1.25, bottom=1.95, lithology='Silt', description='Silt')
G882.add_interval(top=1.95, bottom=4.25, lithology='Clay', description='Clay; Brown and still with minor silt')
G882.add_interval(top=4.25, bottom=10, lithology='Clay', description='Clay; Grey with trace till inclusions and small sand and gravel pockets')
G882.add_interval(top=10, bottom=11.25, lithology='Till', description='Till; Grey and damp with silt and clay, becoming granular with cobbles at depth')<jupyter_output><empty_output><jupyter_text>G 88-3<jupyter_code>G883 = Well(name='G-88-3', elevation=234.37, project='06-0899-266-01', logged_by='TW', date=1988,
           xcoord=628157.03, ycoord=5534147.83)
G883.add_interval(top=0, bottom=1.1, lithology='Fill', description='Topsoil with clay and granular fill below')
G883.add_interval(top=1.1, bottom=2.25, lithology='Silt', description='Silt; Tan and damp')
G883.add_interval(top=2.25, bottom=3.8, lithology='Clay', description='Clay; Brown and stiff with trace silt')
G883.add_interval(top=3.8, bottom=9.1, lithology='Clay', description='Clay; Grey and highly plastic with till inclusions')
G883.add_interval(top=9.1, bottom=11, lithology='Till', description='Till; Grey and damp with silt and clay, becoming granular and very dense with cobbles at depth')<jupyter_output><empty_output><jupyter_text>G 88-4<jupyter_code>G884 = Well(name='G-88-4', elevation=234.78, project='06-0899-266-01', logged_by='TW', date=1988, 
           xcoord=627959.91, ycoord=5534151.16)
G884.add_interval(top=0, bottom=1.35, lithology='Fill', description='Topsoil with clay fill below')
G884.add_interval(top=1.35, bottom=2.45, lithology='Silt', description='Silt; Tan and damp')
G884.add_interval(top=2.45, bottom=4.5, lithology='Clay', description='Clay; Brown and stiff with trace silt')
G884.add_interval(top=4.5, bottom=9.3, lithology='Clay', description='Clay; Grey with small till inclusions increasing in frequency with depth')
G884.add_interval(top=9.3, bottom=11.43, lithology='Till', description='Till; Grey with silt and clay, becoming granular with cobbles at depth')<jupyter_output><empty_output><jupyter_text>Add desired wells to a list<jupyter_code>wellList=[G881, G882, G883, G884]
w.plotSection(wells=wellList, width=40, grid=True, title='Cross-section')<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.11316614420062696, 'fraction_numerical': 0.08072100313479624, 'mean_word_length': 5.10038240917782, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 39, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '10', 'dir': 'jupyter-structured-clean-dedup', 'id': '207841', 'license': 'CC-BY-4.0', 'n_tokens_mistral': 2405, 'n_tokens_neox': 2083, 'n_words': 621, 'path': 'exampleUsage.ipynb', 'repo_name': 'iandeniset/geotechLogs', 'size': '6380'}