0% found this document useful (0 votes)
17 views38 pages

Untitled 32

Uploaded by

Stive Brack
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views38 pages

Untitled 32

Uploaded by

Stive Brack
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 38

!

pip install lasio


import lasio

import matplotlib.pyplot as plt


import pandas as pd
import seaborn as sns

path= "/content/34_10-35.las"
las= lasio.read(path)
df= las.df().reset_index()
# Display train well data
well = df # train wells: well1, well3, well4

# define what logs are we going to us


logs = ['NPHI', 'RHOB', 'GR', 'DTC','DTS','CALI', "RDEP", "RMED"]

# create the subplots; ncols equals the number of logs


fig, ax = plt.subplots(nrows=1, ncols=len(logs), figsize=(20,10))

# looping each log to display in the subplots

colors = ['black', 'red', 'blue', 'green', 'purple', 'black',


'orange', 'red', 'black']

for i in range(len(logs)):
if i == 3:
# for resistivity, semilog plot
ax[i].semilogx(well[logs[i]], well['DEPT'], color=colors[i])
else:
# for non-resistivity, normal plot
ax[i].plot(well[logs[i]], well['DEPT'], color=colors[i])

ax[i].set_title(logs[i])
ax[i].grid(True)

ax[2].set_xlim(0, 300)
plt.tight_layout()
plt.show()
path= "/content/34_12-1.las"
las= lasio.read(path)
df= las.df().reset_index()
df.head()
# Display train well data
well = df # train wells: well1, well3, well4

# define what logs are we going to us


logs = ['NPHI', 'RHOB', 'GR', 'DTC','DTS','CALI', "RDEP", "RMED"]

# create the subplots; ncols equals the number of logs


fig, ax = plt.subplots(nrows=1, ncols=len(logs), figsize=(20,10))

# looping each log to display in the subplots

colors = ['black', 'red', 'blue', 'green', 'purple', 'black',


'orange', 'red', 'black']

for i in range(len(logs)):
if i == 3:
# for resistivity, semilog plot
ax[i].semilogx(well[logs[i]], well['DEPT'], color=colors[i])
else:
# for non-resistivity, normal plot
ax[i].plot(well[logs[i]], well['DEPT'], color=colors[i])

ax[i].set_title(logs[i])
ax[i].grid(True)

ax[2].set_xlim(0, 300)
plt.tight_layout()
plt.show()

path= "/content/34_3-1 A.las"


las= lasio.read(path)
df= las.df().reset_index()
# Display train well data
well = df # train wells: well1, well3, well4

# define what logs are we going to us


logs = ['NPHI', 'RHOB', 'GR', 'DTC','DTS','CALI', "RDEP", "RMED"]

# create the subplots; ncols equals the number of logs


fig, ax = plt.subplots(nrows=1, ncols=len(logs), figsize=(20,10))

# looping each log to display in the subplots

colors = ['black', 'red', 'blue', 'green', 'purple', 'black',


'orange', 'red', 'black']

for i in range(len(logs)):
if i == 3:
# for resistivity, semilog plot
ax[i].semilogx(well[logs[i]], well['DEPT'], color=colors[i])
else:
# for non-resistivity, normal plot
ax[i].plot(well[logs[i]], well['DEPT'], color=colors[i])

ax[i].set_title(logs[i])
ax[i].grid(True)
ax[2].set_xlim(0, 300)
plt.tight_layout()
plt.show()

path= "/content/34_3-2 S.las"


las= lasio.read(path)
df= las.df().reset_index()
# Display train well data
well = df # train wells: well1, well3, well4

# define what logs are we going to us


logs = ['NPHI', 'RHOB', 'GR', 'DTC','DTS','CALI', "RDEP", "RMED"]

# create the subplots; ncols equals the number of logs


fig, ax = plt.subplots(nrows=1, ncols=len(logs), figsize=(20,10))

# looping each log to display in the subplots

colors = ['black', 'red', 'blue', 'green', 'purple', 'black',


'orange', 'red', 'black']

for i in range(len(logs)):
if i == 3:
# for resistivity, semilog plot
ax[i].semilogx(well[logs[i]], well['DEPT'], color=colors[i])
else:
# for non-resistivity, normal plot
ax[i].plot(well[logs[i]], well['DEPT'], color=colors[i])
ax[i].set_title(logs[i])
ax[i].grid(True)

ax[2].set_xlim(0, 300)
plt.tight_layout()
plt.show()

path= "/content/34_3-3 A.las"


las= lasio.read(path)
df= las.df().reset_index()
# Display train well data
well = df # train wells: well1, well3, well4

# define what logs are we going to us


logs = ['NPHI', 'RHOB', 'GR', 'DTC','DTS','CALI', "RDEP", "RMED"]

# create the subplots; ncols equals the number of logs


fig, ax = plt.subplots(nrows=1, ncols=len(logs), figsize=(20,10))

# looping each log to display in the subplots

colors = ['black', 'red', 'blue', 'green', 'purple', 'black',


'orange', 'red', 'black']

for i in range(len(logs)):
if i == 3:
# for resistivity, semilog plot
ax[i].semilogx(well[logs[i]], well['DEPT'], color=colors[i])
else:
# for non-resistivity, normal plot
ax[i].plot(well[logs[i]], well['DEPT'], color=colors[i])

ax[i].set_title(logs[i])
ax[i].grid(True)

ax[2].set_xlim(0, 300)
plt.tight_layout()
plt.show()

path= "/content/34_4-10 R.las"


las= lasio.read(path)
df= las.df().reset_index()
# Display train well data
well = df # train wells: well1, well3, well4

# define what logs are we going to us


logs = ['NPHI', 'RHOB', 'GR', 'DTC','DTS','CALI', "RDEP", "RMED"]

# create the subplots; ncols equals the number of logs


fig, ax = plt.subplots(nrows=1, ncols=len(logs), figsize=(20,10))

# looping each log to display in the subplots

colors = ['black', 'red', 'blue', 'green', 'purple', 'black',


'orange', 'red', 'black']

for i in range(len(logs)):
if i == 3:
# for resistivity, semilog plot
ax[i].semilogx(well[logs[i]], well['DEPT'], color=colors[i])
else:
# for non-resistivity, normal plot
ax[i].plot(well[logs[i]], well['DEPT'], color=colors[i])

ax[i].set_title(logs[i])
ax[i].grid(True)

ax[2].set_xlim(0, 300)
plt.tight_layout()
plt.show()

path= "/content/34_5-1 A.las"


las= lasio.read(path)
df= las.df().reset_index()
# Display train well data
well = df # train wells: well1, well3, well4

# define what logs are we going to us


logs = ['NPHI', 'RHOB', 'GR', 'DTC','DTS','CALI', "RDEP", "RMED"]

# create the subplots; ncols equals the number of logs


fig, ax = plt.subplots(nrows=1, ncols=len(logs), figsize=(20,10))

# looping each log to display in the subplots

colors = ['black', 'red', 'blue', 'green', 'purple', 'black',


'orange', 'red', 'black']

for i in range(len(logs)):
if i == 3:
# for resistivity, semilog plot
ax[i].semilogx(well[logs[i]], well['DEPT'], color=colors[i])
else:
# for non-resistivity, normal plot
ax[i].plot(well[logs[i]], well['DEPT'], color=colors[i])

ax[i].set_title(logs[i])
ax[i].grid(True)

ax[2].set_xlim(0, 300)
plt.tight_layout()
plt.show()

path= "/content/34_5-1 S.las"


las= lasio.read(path)
df= las.df().reset_index()
# Display train well data
well = df # train wells: well1, well3, well4

# define what logs are we going to us


logs = ['NPHI', 'RHOB', 'GR', 'DTC','DTS','CALI', "RDEP", "RMED"]

# create the subplots; ncols equals the number of logs


fig, ax = plt.subplots(nrows=1, ncols=len(logs), figsize=(20,10))

# looping each log to display in the subplots

colors = ['black', 'red', 'blue', 'green', 'purple', 'black',


'orange', 'red', 'black']
for i in range(len(logs)):
if i == 3:
# for resistivity, semilog plot
ax[i].semilogx(well[logs[i]], well['DEPT'], color=colors[i])
else:
# for non-resistivity, normal plot
ax[i].plot(well[logs[i]], well['DEPT'], color=colors[i])

ax[i].set_title(logs[i])
ax[i].grid(True)

ax[2].set_xlim(0, 300)
plt.tight_layout()
plt.show()

path= "/content/34_6-1 S.las"


las= lasio.read(path)
df= las.df().reset_index()
# Display train well data
well = df # train wells: well1, well3, well4

# define what logs are we going to us


logs = ['NPHI', 'RHOB', 'GR', 'DTC','DTS','CALI', "RDEP", "RMED"]

# create the subplots; ncols equals the number of logs


fig, ax = plt.subplots(nrows=1, ncols=len(logs), figsize=(20,10))

# looping each log to display in the subplots

colors = ['black', 'red', 'blue', 'green', 'purple', 'black',


'orange', 'red', 'black']

for i in range(len(logs)):
if i == 3:
# for resistivity, semilog plot
ax[i].semilogx(well[logs[i]], well['DEPT'], color=colors[i])
else:
# for non-resistivity, normal plot
ax[i].plot(well[logs[i]], well['DEPT'], color=colors[i])

ax[i].set_title(logs[i])
ax[i].grid(True)

ax[2].set_xlim(0, 300)
plt.tight_layout()
plt.show()

path= "/content/35_11-11.las"
las= lasio.read(path)
df= las.df().reset_index()
# Display train well data
well = df # train wells: well1, well3, well4

# define what logs are we going to us


logs = ['NPHI', 'RHOB', 'GR', 'DTC','DTS','CALI', "RDEP", "RMED"]

# create the subplots; ncols equals the number of logs


fig, ax = plt.subplots(nrows=1, ncols=len(logs), figsize=(20,10))

# looping each log to display in the subplots


colors = ['black', 'red', 'blue', 'green', 'purple', 'black',
'orange', 'red', 'black']

for i in range(len(logs)):
if i == 3:
# for resistivity, semilog plot
ax[i].semilogx(well[logs[i]], well['DEPT'], color=colors[i])
else:
# for non-resistivity, normal plot
ax[i].plot(well[logs[i]], well['DEPT'], color=colors[i])

ax[i].set_title(logs[i])
ax[i].grid(True)

ax[2].set_xlim(0, 300)
plt.tight_layout()
plt.show()

path= "/content/35_11-5.las"
las= lasio.read(path)
df= las.df().reset_index()
# Display train well data
well = df # train wells: well1, well3, well4

# define what logs are we going to us


logs = ['NPHI', 'RHOB', 'GR', 'DTC','DTS','CALI', "RDEP", "RMED"]

# create the subplots; ncols equals the number of logs


fig, ax = plt.subplots(nrows=1, ncols=len(logs), figsize=(20,10))
# looping each log to display in the subplots

colors = ['black', 'red', 'blue', 'green', 'purple', 'black',


'orange', 'red', 'black']

for i in range(len(logs)):
if i == 3:
# for resistivity, semilog plot
ax[i].semilogx(well[logs[i]], well['DEPT'], color=colors[i])
else:
# for non-resistivity, normal plot
ax[i].plot(well[logs[i]], well['DEPT'], color=colors[i])

ax[i].set_title(logs[i])
ax[i].grid(True)

ax[2].set_xlim(0, 300)
plt.tight_layout()
plt.show()

path= "/content/35_11-6.las"
las= lasio.read(path)
df= las.df().reset_index()
# Display train well data
well = df # train wells: well1, well3, well4

# define what logs are we going to us


logs = ['NPHI', 'RHOB', 'GR', 'DTC','DTS','CALI', "RDEP", "RMED"]
# create the subplots; ncols equals the number of logs
fig, ax = plt.subplots(nrows=1, ncols=len(logs), figsize=(20,10))

# looping each log to display in the subplots

colors = ['black', 'red', 'blue', 'green', 'purple', 'black',


'orange', 'red', 'black']

for i in range(len(logs)):
if i == 3:
# for resistivity, semilog plot
ax[i].semilogx(well[logs[i]], well['DEPT'], color=colors[i])
else:
# for non-resistivity, normal plot
ax[i].plot(well[logs[i]], well['DEPT'], color=colors[i])

ax[i].set_title(logs[i])
ax[i].grid(True)

ax[2].set_xlim(0, 300)
plt.tight_layout()
plt.show()

path= "/content/35_6-2 S.las"


las= lasio.read(path)
df= las.df().reset_index()
# Display train well data
well = df # train wells: well1, well3, well4

# define what logs are we going to us


logs = ['NPHI', 'RHOB', 'GR', 'DTC','DTS','CALI', "RDEP", "RMED"]

# create the subplots; ncols equals the number of logs


fig, ax = plt.subplots(nrows=1, ncols=len(logs), figsize=(20,10))

# looping each log to display in the subplots

colors = ['black', 'red', 'blue', 'green', 'purple', 'black',


'orange', 'red', 'black']

for i in range(len(logs)):
if i == 3:
# for resistivity, semilog plot
ax[i].semilogx(well[logs[i]], well['DEPT'], color=colors[i])
else:
# for non-resistivity, normal plot
ax[i].plot(well[logs[i]], well['DEPT'], color=colors[i])

ax[i].set_title(logs[i])
ax[i].grid(True)

ax[2].set_xlim(0, 300)
plt.tight_layout()
plt.show()

path= "/content/35_8-6 S.las"


las= lasio.read(path)
df= las.df().reset_index()
# Display train well data
well = df # train wells: well1, well3, well4
# define what logs are we going to us
logs = ['NPHI', 'RHOB', 'GR', 'DTC','DTS','CALI', "RDEP", "RMED"]

# create the subplots; ncols equals the number of logs


fig, ax = plt.subplots(nrows=1, ncols=len(logs), figsize=(20,10))

# looping each log to display in the subplots

colors = ['black', 'red', 'blue', 'green', 'purple', 'black',


'orange', 'red', 'black']

for i in range(len(logs)):
if i == 3:
# for resistivity, semilog plot
ax[i].semilogx(well[logs[i]], well['DEPT'], color=colors[i])
else:
# for non-resistivity, normal plot
ax[i].plot(well[logs[i]], well['DEPT'], color=colors[i])

ax[i].set_title(logs[i])
ax[i].grid(True)

ax[2].set_xlim(0, 300)
plt.tight_layout()
plt.show()

path= "/content/35_9-10 S.las"


las= lasio.read(path)
df= las.df().reset_index()
# Display train well data
well = df # train wells: well1, well3, well4

# define what logs are we going to us


logs = ['NPHI', 'RHOB', 'GR', 'DTC','DTS','CALI', "RDEP", "RMED"]

# create the subplots; ncols equals the number of logs


fig, ax = plt.subplots(nrows=1, ncols=len(logs), figsize=(20,10))

# looping each log to display in the subplots

colors = ['black', 'red', 'blue', 'green', 'purple', 'black',


'orange', 'red', 'black']

for i in range(len(logs)):
if i == 3:
# for resistivity, semilog plot
ax[i].semilogx(well[logs[i]], well['DEPT'], color=colors[i])
else:
# for non-resistivity, normal plot
ax[i].plot(well[logs[i]], well['DEPT'], color=colors[i])

ax[i].set_title(logs[i])
ax[i].grid(True)

ax[2].set_xlim(0, 300)
plt.tight_layout()
plt.show()
path= "/content/35_9-5.las"
las= lasio.read(path)
df= las.df().reset_index()
# Display train well data
well = df # train wells: well1, well3, well4

# define what logs are we going to us


logs = ['NPHI', 'RHOB', 'GR', 'DTC','DTS','CALI', "RDEP", "RMED"]

# create the subplots; ncols equals the number of logs


fig, ax = plt.subplots(nrows=1, ncols=len(logs), figsize=(20,10))

# looping each log to display in the subplots

colors = ['black', 'red', 'blue', 'green', 'purple', 'black',


'orange', 'red', 'black']

for i in range(len(logs)):
if i == 3:
# for resistivity, semilog plot
ax[i].semilogx(well[logs[i]], well['DEPT'], color=colors[i])
else:
# for non-resistivity, normal plot
ax[i].plot(well[logs[i]], well['DEPT'], color=colors[i])

ax[i].set_title(logs[i])
ax[i].grid(True)

ax[2].set_xlim(0, 300)
plt.tight_layout()
plt.show()
path= "/content/35_9-7.las"
las= lasio.read(path)
df= las.df().reset_index()
# Display train well data
well = df # train wells: well1, well3, well4

# define what logs are we going to us


logs = ['NPHI', 'RHOB', 'GR', 'DTC','DTS','CALI', "RDEP", "RMED"]

# create the subplots; ncols equals the number of logs


fig, ax = plt.subplots(nrows=1, ncols=len(logs), figsize=(20,10))

# looping each log to display in the subplots

colors = ['black', 'red', 'blue', 'green', 'purple', 'black',


'orange', 'red', 'black']

for i in range(len(logs)):
if i == 3:
# for resistivity, semilog plot
ax[i].semilogx(well[logs[i]], well['DEPT'], color=colors[i])
else:
# for non-resistivity, normal plot
ax[i].plot(well[logs[i]], well['DEPT'], color=colors[i])

ax[i].set_title(logs[i])
ax[i].grid(True)

ax[2].set_xlim(0, 300)
plt.tight_layout()
plt.show()
path= "/content/35_9-8.las"
las= lasio.read(path)
df= las.df().reset_index()
# Display train well data
well = df # train wells: well1, well3, well4

# define what logs are we going to us


logs = ['NPHI', 'RHOB', 'GR', 'DTC','DTS','CALI', "RDEP", "RMED"]

# create the subplots; ncols equals the number of logs


fig, ax = plt.subplots(nrows=1, ncols=len(logs), figsize=(20,10))

# looping each log to display in the subplots

colors = ['black', 'red', 'blue', 'green', 'purple', 'black',


'orange', 'red', 'black']

for i in range(len(logs)):
if i == 3:
# for resistivity, semilog plot
ax[i].semilogx(well[logs[i]], well['DEPT'], color=colors[i])
else:
# for non-resistivity, normal plot
ax[i].plot(well[logs[i]], well['DEPT'], color=colors[i])

ax[i].set_title(logs[i])
ax[i].grid(True)

ax[2].set_xlim(0, 300)
plt.tight_layout()
plt.show()
path= "//content/35_9-9.las"
las= lasio.read(path)
df= las.df().reset_index()
# Display train well data
well = df # train wells: well1, well3, well4

# define what logs are we going to us


logs = ['NPHI', 'RHOB', 'GR', 'DTC','DTS','CALI', "RDEP", "RMED"]

# create the subplots; ncols equals the number of logs


fig, ax = plt.subplots(nrows=1, ncols=len(logs), figsize=(20,10))

# looping each log to display in the subplots

colors = ['black', 'red', 'blue', 'green', 'purple', 'black',


'orange', 'red', 'black']

for i in range(len(logs)):
if i == 3:
# for resistivity, semilog plot
ax[i].semilogx(well[logs[i]], well['DEPT'], color=colors[i])
else:
# for non-resistivity, normal plot
ax[i].plot(well[logs[i]], well['DEPT'], color=colors[i])

ax[i].set_title(logs[i])
ax[i].grid(True)

ax[2].set_xlim(0, 300)
plt.tight_layout()
plt.show()
path= "/content/Log 2/15_9-23.las"
las= lasio.read(path)
df= las.df().reset_index()
# Display train well data
well = df # train wells: well1, well3, well4

# define what logs are we going to us


logs = ['NPHI', 'RHOB', 'GR', 'DTC','DTS','CALI', "RDEP", "RMED"]

# create the subplots; ncols equals the number of logs


fig, ax = plt.subplots(nrows=1, ncols=len(logs), figsize=(20,10))

# looping each log to display in the subplots

colors = ['black', 'red', 'blue', 'green', 'purple', 'black',


'orange', 'red', 'black']

for i in range(len(logs)):
if i == 3:
# for resistivity, semilog plot
ax[i].semilogx(well[logs[i]], well['DEPT'], color=colors[i])
else:
# for non-resistivity, normal plot
ax[i].plot(well[logs[i]], well['DEPT'], color=colors[i])

ax[i].set_title(logs[i])
ax[i].grid(True)

ax[2].set_xlim(0, 300)
plt.tight_layout()
plt.show()
path= "/content/Log 2/16_10-3.las"
las= lasio.read(path)
df= las.df().reset_index()
# Display train well data
well = df # train wells: well1, well3, well4

# define what logs are we going to us


logs = ['NPHI', 'RHOB', 'GR', 'DTC','DTS','CALI', "RDEP", "RMED"]

# create the subplots; ncols equals the number of logs


fig, ax = plt.subplots(nrows=1, ncols=len(logs), figsize=(20,10))

# looping each log to display in the subplots

colors = ['black', 'red', 'blue', 'green', 'purple', 'black',


'orange', 'red', 'black']

for i in range(len(logs)):
if i == 3:
# for resistivity, semilog plot
ax[i].semilogx(well[logs[i]], well['DEPT'], color=colors[i])
else:
# for non-resistivity, normal plot
ax[i].plot(well[logs[i]], well['DEPT'], color=colors[i])

ax[i].set_title(logs[i])
ax[i].grid(True)

ax[2].set_xlim(0, 300)
plt.tight_layout()
plt.show()
path= "/content/Log 2/16_10-5.las"
las= lasio.read(path)
df= las.df().reset_index()
# Display train well data
well = df # train wells: well1, well3, well4

# define what logs are we going to us


logs = ['NPHI', 'RHOB', 'GR', 'DTC','DTS','CALI', "RDEP", "RMED"]

# create the subplots; ncols equals the number of logs


fig, ax = plt.subplots(nrows=1, ncols=len(logs), figsize=(20,10))

# looping each log to display in the subplots

colors = ['black', 'red', 'blue', 'green', 'purple', 'black',


'orange', 'red', 'black']

for i in range(len(logs)):
if i == 3:
# for resistivity, semilog plot
ax[i].semilogx(well[logs[i]], well['DEPT'], color=colors[i])
else:
# for non-resistivity, normal plot
ax[i].plot(well[logs[i]], well['DEPT'], color=colors[i])

ax[i].set_title(logs[i])
ax[i].grid(True)

ax[2].set_xlim(0, 300)
plt.tight_layout()
plt.show()
path= "/content/Log 2/16_2-11 A.las"
las= lasio.read(path)
df= las.df().reset_index()
# Display train well data
well = df # train wells: well1, well3, well4

# define what logs are we going to us


logs = ['NPHI', 'RHOB', 'GR', 'DTC','DTS','CALI', "RDEP", "RMED"]

# create the subplots; ncols equals the number of logs


fig, ax = plt.subplots(nrows=1, ncols=len(logs), figsize=(20,10))

# looping each log to display in the subplots

colors = ['black', 'red', 'blue', 'green', 'purple', 'black',


'orange', 'red', 'black']

for i in range(len(logs)):
if i == 3:
# for resistivity, semilog plot
ax[i].semilogx(well[logs[i]], well['DEPT'], color=colors[i])
else:
# for non-resistivity, normal plot
ax[i].plot(well[logs[i]], well['DEPT'], color=colors[i])

ax[i].set_title(logs[i])
ax[i].grid(True)

ax[2].set_xlim(0, 300)
plt.tight_layout()
plt.show()
path= "/content/Log 2/16_2-16.las"
las= lasio.read(path)
df= las.df().reset_index()
# Display train well data
well = df # train wells: well1, well3, well4

# define what logs are we going to us


logs = ['NPHI', 'RHOB', 'GR', 'DTC','DTS','CALI', "RDEP", "RMED"]

# create the subplots; ncols equals the number of logs


fig, ax = plt.subplots(nrows=1, ncols=len(logs), figsize=(20,10))

# looping each log to display in the subplots

colors = ['black', 'red', 'blue', 'green', 'purple', 'black',


'orange', 'red', 'black']

for i in range(len(logs)):
if i == 3:
# for resistivity, semilog plot
ax[i].semilogx(well[logs[i]], well['DEPT'], color=colors[i])
else:
# for non-resistivity, normal plot
ax[i].plot(well[logs[i]], well['DEPT'], color=colors[i])

ax[i].set_title(logs[i])
ax[i].grid(True)

ax[2].set_xlim(0, 300)
plt.tight_layout()
plt.show()
path= "/content/Log 2/16_2-6.las"
las= lasio.read(path)
df= las.df().reset_index()
# Display train well data
well = df # train wells: well1, well3, well4

# define what logs are we going to us


logs = ['NPHI', 'RHOB', 'GR', 'DTC','DTS','CALI', "RDEP", "RMED"]

# create the subplots; ncols equals the number of logs


fig, ax = plt.subplots(nrows=1, ncols=len(logs), figsize=(20,10))

# looping each log to display in the subplots

colors = ['black', 'red', 'blue', 'green', 'purple', 'black',


'orange', 'red', 'black']

for i in range(len(logs)):
if i == 3:
# for resistivity, semilog plot
ax[i].semilogx(well[logs[i]], well['DEPT'], color=colors[i])
else:
# for non-resistivity, normal plot
ax[i].plot(well[logs[i]], well['DEPT'], color=colors[i])

ax[i].set_title(logs[i])
ax[i].grid(True)

ax[2].set_xlim(0, 300)
plt.tight_layout()
plt.show()
path= "/content/Log 2/16_2-7.las"
las= lasio.read(path)
df= las.df().reset_index()
# Display train well data
well = df # train wells: well1, well3, well4

# define what logs are we going to us


logs = ['NPHI', 'RHOB', 'GR', 'DTC','DTS','CALI', "RDEP", "RMED"]

# create the subplots; ncols equals the number of logs


fig, ax = plt.subplots(nrows=1, ncols=len(logs), figsize=(20,10))

# looping each log to display in the subplots

colors = ['black', 'red', 'blue', 'green', 'purple', 'black',


'orange', 'red', 'black']

for i in range(len(logs)):
if i == 3:
# for resistivity, semilog plot
ax[i].semilogx(well[logs[i]], well['DEPT'], color=colors[i])
else:
# for non-resistivity, normal plot
ax[i].plot(well[logs[i]], well['DEPT'], color=colors[i])

ax[i].set_title(logs[i])
ax[i].grid(True)

ax[2].set_xlim(0, 300)
plt.tight_layout()
plt.show()
path= "/content/Log 2/16_7-6.las"
las= lasio.read(path)
df= las.df().reset_index()
# Display train well data
well = df # train wells: well1, well3, well4

# define what logs are we going to us


logs = ['NPHI', 'RHOB', 'GR', 'DTC','DTS','CALI', "RDEP", "RMED"]

# create the subplots; ncols equals the number of logs


fig, ax = plt.subplots(nrows=1, ncols=len(logs), figsize=(20,10))

# looping each log to display in the subplots

colors = ['black', 'red', 'blue', 'green', 'purple', 'black',


'orange', 'red', 'black']

for i in range(len(logs)):
if i == 3:
# for resistivity, semilog plot
ax[i].semilogx(well[logs[i]], well['DEPT'], color=colors[i])
else:
# for non-resistivity, normal plot
ax[i].plot(well[logs[i]], well['DEPT'], color=colors[i])

ax[i].set_title(logs[i])
ax[i].grid(True)

ax[2].set_xlim(0, 300)
plt.tight_layout()
plt.show()
path= "/content/Log 2/25_10-10.las"
las= lasio.read(path)
df= las.df().reset_index()
# Display train well data
well = df # train wells: well1, well3, well4

# define what logs are we going to us


logs = ['NPHI', 'RHOB', 'GR', 'DTC','DTS','CALI', "RDEP", "RMED"]

# create the subplots; ncols equals the number of logs


fig, ax = plt.subplots(nrows=1, ncols=len(logs), figsize=(20,10))

# looping each log to display in the subplots

colors = ['black', 'red', 'blue', 'green', 'purple', 'black',


'orange', 'red', 'black']

for i in range(len(logs)):
if i == 3:
# for resistivity, semilog plot
ax[i].semilogx(well[logs[i]], well['DEPT'], color=colors[i])
else:
# for non-resistivity, normal plot
ax[i].plot(well[logs[i]], well['DEPT'], color=colors[i])

ax[i].set_title(logs[i])
ax[i].grid(True)

ax[2].set_xlim(0, 300)
plt.tight_layout()
plt.show()
path= "/content/Log 2/25_10-9.las"
las= lasio.read(path)
df= las.df().reset_index()
# Display train well data
well = df # train wells: well1, well3, well4

# define what logs are we going to us


logs = ['NPHI', 'RHOB', 'GR', 'DTC','DTS','CALI', "RDEP", "RMED"]

# create the subplots; ncols equals the number of logs


fig, ax = plt.subplots(nrows=1, ncols=len(logs), figsize=(20,10))

# looping each log to display in the subplots

colors = ['black', 'red', 'blue', 'green', 'purple', 'black',


'orange', 'red', 'black']

for i in range(len(logs)):
if i == 3:
# for resistivity, semilog plot
ax[i].semilogx(well[logs[i]], well['DEPT'], color=colors[i])
else:
# for non-resistivity, normal plot
ax[i].plot(well[logs[i]], well['DEPT'], color=colors[i])

ax[i].set_title(logs[i])
ax[i].grid(True)

ax[2].set_xlim(0, 300)
plt.tight_layout()
plt.show()
path= "/content/Log 2/25_11-19 S.las"
las= lasio.read(path)
df= las.df().reset_index()
# Display train well data
well = df # train wells: well1, well3, well4

# define what logs are we going to us


logs = ['NPHI', 'RHOB', 'GR', 'DTC','DTS','CALI', "RDEP", "RMED"]

# create the subplots; ncols equals the number of logs


fig, ax = plt.subplots(nrows=1, ncols=len(logs), figsize=(20,10))

# looping each log to display in the subplots

colors = ['black', 'red', 'blue', 'green', 'purple', 'black',


'orange', 'red', 'black']

for i in range(len(logs)):
if i == 3:
# for resistivity, semilog plot
ax[i].semilogx(well[logs[i]], well['DEPT'], color=colors[i])
else:
# for non-resistivity, normal plot
ax[i].plot(well[logs[i]], well['DEPT'], color=colors[i])

ax[i].set_title(logs[i])
ax[i].grid(True)

ax[2].set_xlim(0, 300)
plt.tight_layout()
plt.show()
path= "/content/Log 2/25_8-5 S.las"
las= lasio.read(path)
df= las.df().reset_index()
# Display train well data
well = df # train wells: well1, well3, well4

# define what logs are we going to us


logs = ['NPHI', 'RHOB', 'GR', 'DTC','DTS','CALI', "RDEP", "RMED"]

# create the subplots; ncols equals the number of logs


fig, ax = plt.subplots(nrows=1, ncols=len(logs), figsize=(20,10))

# looping each log to display in the subplots

colors = ['black', 'red', 'blue', 'green', 'purple', 'black',


'orange', 'red', 'black']

for i in range(len(logs)):
if i == 3:
# for resistivity, semilog plot
ax[i].semilogx(well[logs[i]], well['DEPT'], color=colors[i])
else:
# for non-resistivity, normal plot
ax[i].plot(well[logs[i]], well['DEPT'], color=colors[i])

ax[i].set_title(logs[i])
ax[i].grid(True)

ax[2].set_xlim(0, 300)
plt.tight_layout()
plt.show()
path= "/content/Log 2/31_2-19 S.las"
las= lasio.read(path)
df= las.df().reset_index()
# Display train well data
well = df # train wells: well1, well3, well4

# define what logs are we going to us


logs = ['NPHI', 'RHOB', 'GR', 'DTC','DTS','CALI', "RDEP", "RMED"]

# create the subplots; ncols equals the number of logs


fig, ax = plt.subplots(nrows=1, ncols=len(logs), figsize=(20,10))

# looping each log to display in the subplots

colors = ['black', 'red', 'blue', 'green', 'purple', 'black',


'orange', 'red', 'black']

for i in range(len(logs)):
if i == 3:
# for resistivity, semilog plot
ax[i].semilogx(well[logs[i]], well['DEPT'], color=colors[i])
else:
# for non-resistivity, normal plot
ax[i].plot(well[logs[i]], well['DEPT'], color=colors[i])

ax[i].set_title(logs[i])
ax[i].grid(True)

ax[2].set_xlim(0, 300)
plt.tight_layout()
plt.show()
path= "/content/Log 2/31_2-21 S.las"
las= lasio.read(path)
df= las.df().reset_index()
# Display train well data
well = df # train wells: well1, well3, well4

# define what logs are we going to us


logs = ['NPHI', 'RHOB', 'GR', 'DTC','DTS','CALI', "RDEP", "RMED"]

# create the subplots; ncols equals the number of logs


fig, ax = plt.subplots(nrows=1, ncols=len(logs), figsize=(20,10))

# looping each log to display in the subplots

colors = ['black', 'red', 'blue', 'green', 'purple', 'black',


'orange', 'red', 'black']

for i in range(len(logs)):
if i == 3:
# for resistivity, semilog plot
ax[i].semilogx(well[logs[i]], well['DEPT'], color=colors[i])
else:
# for non-resistivity, normal plot
ax[i].plot(well[logs[i]], well['DEPT'], color=colors[i])

ax[i].set_title(logs[i])
ax[i].grid(True)

ax[2].set_xlim(0, 300)
plt.tight_layout()
plt.show()
path= "/content/Log 2/31_3-4.las"
las= lasio.read(path)
df= las.df().reset_index()
# Display train well data
well = df # train wells: well1, well3, well4

# define what logs are we going to us


logs = ['NPHI', 'RHOB', 'GR', 'DTC','DTS','CALI', "RDEP", "RMED"]

# create the subplots; ncols equals the number of logs


fig, ax = plt.subplots(nrows=1, ncols=len(logs), figsize=(20,10))

# looping each log to display in the subplots

colors = ['black', 'red', 'blue', 'green', 'purple', 'black',


'orange', 'red', 'black']

for i in range(len(logs)):
if i == 3:
# for resistivity, semilog plot
ax[i].semilogx(well[logs[i]], well['DEPT'], color=colors[i])
else:
# for non-resistivity, normal plot
ax[i].plot(well[logs[i]], well['DEPT'], color=colors[i])

ax[i].set_title(logs[i])
ax[i].grid(True)

ax[2].set_xlim(0, 300)
plt.tight_layout()
plt.show()
path= "/content/Log 2/32_2-1.las"
las= lasio.read(path)
df= las.df().reset_index()
# Display train well data
well = df # train wells: well1, well3, well4

# define what logs are we going to us


logs = ['NPHI', 'RHOB', 'GR', 'DTC','DTS','CALI', "RDEP", "RMED"]

# create the subplots; ncols equals the number of logs


fig, ax = plt.subplots(nrows=1, ncols=len(logs), figsize=(20,10))

# looping each log to display in the subplots

colors = ['black', 'red', 'blue', 'green', 'purple', 'black',


'orange', 'red', 'black']

for i in range(len(logs)):
if i == 3:
# for resistivity, semilog plot
ax[i].semilogx(well[logs[i]], well['DEPT'], color=colors[i])
else:
# for non-resistivity, normal plot
ax[i].plot(well[logs[i]], well['DEPT'], color=colors[i])

ax[i].set_title(logs[i])
ax[i].grid(True)

ax[2].set_xlim(0, 300)
plt.tight_layout()
plt.show()
path= "/content/Log 2/33_6-3 S.las"
las= lasio.read(path)
df= las.df().reset_index()
# Display train well data
well = df # train wells: well1, well3, well4

# define what logs are we going to us


logs = ['NPHI', 'RHOB', 'GR', 'DTC','DTS','CALI', "RDEP", "RMED"]

# create the subplots; ncols equals the number of logs


fig, ax = plt.subplots(nrows=1, ncols=len(logs), figsize=(20,10))

# looping each log to display in the subplots

colors = ['black', 'red', 'blue', 'green', 'purple', 'black',


'orange', 'red', 'black']

for i in range(len(logs)):
if i == 3:
# for resistivity, semilog plot
ax[i].semilogx(well[logs[i]], well['DEPT'], color=colors[i])
else:
# for non-resistivity, normal plot
ax[i].plot(well[logs[i]], well['DEPT'], color=colors[i])

ax[i].set_title(logs[i])
ax[i].grid(True)

ax[2].set_xlim(0, 300)
plt.tight_layout()
plt.show()
path= "/content/Log 2/7_3-1.las"
las= lasio.read(path)
df= las.df().reset_index()
# Display train well data
well = df # train wells: well1, well3, well4

# define what logs are we going to us


logs = ['NPHI', 'RHOB', 'GR', 'DTC','CALI', "RDEP", "RMED"]

# create the subplots; ncols equals the number of logs


fig, ax = plt.subplots(nrows=1, ncols=len(logs), figsize=(20,10))

# looping each log to display in the subplots

colors = ['black', 'red', 'blue', 'green', 'black', 'orange', 'red',


'black']

for i in range(len(logs)):
if i == 3:
# for resistivity, semilog plot
ax[i].semilogx(well[logs[i]], well['DEPT'], color=colors[i])
else:
# for non-resistivity, normal plot
ax[i].plot(well[logs[i]], well['DEPT'], color=colors[i])

ax[i].set_title(logs[i])
ax[i].grid(True)

ax[2].set_xlim(0, 300)
plt.tight_layout()
plt.show()

You might also like