|
|
import streamlit as st |
|
|
import pandas as pd |
|
|
|
|
|
def raw_data(las_file, well_data): |
|
|
st.title('LAS File Data Info') |
|
|
if not las_file: |
|
|
st.warning('No file has been uploaded') |
|
|
else: |
|
|
st.write('**Curve Information**') |
|
|
for count, curve in enumerate(las_file.curves): |
|
|
|
|
|
st.write(f" {curve.mnemonic} ({curve.unit}): {curve.descr}", unsafe_allow_html=True) |
|
|
st.write(f"<b>There are a total of: {count+1} curves present within this file</b>", unsafe_allow_html=True) |
|
|
|
|
|
st.write('<b>Curve Statistics</b>', unsafe_allow_html=True) |
|
|
st.write(well_data.describe()) |
|
|
st.write('<b>Raw Data Values</b>', unsafe_allow_html=True) |
|
|
st.dataframe(data=well_data) |