quick-pp 0.2.65__tar.gz → 0.2.66__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {quick_pp-0.2.65 → quick_pp-0.2.66}/PKG-INFO +1 -1
- {quick_pp-0.2.65 → quick_pp-0.2.66}/pyproject.toml +1 -1
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/__init__.py +1 -1
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/plotter/well_log.py +3 -6
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/plotter/well_log_config.py +3 -3
- {quick_pp-0.2.65 → quick_pp-0.2.66}/.gitignore +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/LICENSE +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/README.md +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/api/__init__.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/api/exceptions.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/api/fastapi_mlflow/__init__.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/api/fastapi_mlflow/_mlflow_types.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/api/fastapi_mlflow/applications.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/api/fastapi_mlflow/exceptions.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/api/fastapi_mlflow/predictors.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/api/main.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/api/mlflow_model_deployment.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/api/router.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/api/schemas/lithology_hc_correction.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/api/schemas/lithology_ssc.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/api/schemas/lithology_vsh_gr.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/api/schemas/permeability_choo.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/api/schemas/permeability_others.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/api/schemas/porosity.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/api/schemas/ressum.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/api/schemas/saturation_archie.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/api/schemas/saturation_b.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/api/schemas/saturation_qv.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/api/schemas/saturation_rw.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/api/schemas/saturation_temp_grad.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/api/schemas/saturation_waxman_smits.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/api/services/chat.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/api/services/las_handler.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/api/services/lithology.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/api/services/permeability.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/api/services/porosity.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/api/services/reservoir_summary.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/api/services/saturation.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/api/static/favicon.ico +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/api/static/logo.png +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/api/template/chat.html +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/api/template/home.html +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/cli.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/config.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/core_calibration.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/fluid_type.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/las_handler.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/lithology/__init__.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/lithology/carbonate.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/lithology/multi_mineral.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/lithology/sand_shale.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/lithology/sand_silt_clay.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/lithology/thin_beds.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/machine_learning/__init__.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/machine_learning/config.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/machine_learning/feature_engineering.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/machine_learning/mock_data/mock_data.parquet +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/machine_learning/predict_pipeline.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/machine_learning/train_pipeline.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/machine_learning/utils.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/objects.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/permeability.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/plotter/__init__.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/plotter/plotter.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/porosity.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/qaqc.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/ressum.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/rock_physics/__init__.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/rock_physics/geomechanics.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/rock_physics/geophysics.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/rock_physics/rpm.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/rock_type.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/saturation.py +0 -0
- {quick_pp-0.2.65 → quick_pp-0.2.66}/quick_pp/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: quick-pp
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.66
|
|
4
4
|
Summary: Python package to assist in providing quick-look/ preliminary petrophysical estimation.
|
|
5
5
|
Project-URL: Homepage, https://github.com/imranfadhil/quick_pp
|
|
6
6
|
Author-email: Imran Fadhil <imranfadhil@gmail.com>
|
|
@@ -20,4 +20,4 @@ logging.getLogger("mlflow").setLevel(logging.WARNING)
|
|
|
20
20
|
|
|
21
21
|
__author__ = """Imran Fadhil"""
|
|
22
22
|
__email__ = 'imranfadhil@gmail.com'
|
|
23
|
-
__version__ = '0.2.
|
|
23
|
+
__version__ = '0.2.66' # Need to be updated manually when releasing a new version/ change in pyproject.toml
|
|
@@ -202,10 +202,7 @@ def plotly_log(well_data, well_name: str = '', depth_uom="", trace_defs: dict =
|
|
|
202
202
|
>>> fig = plotly_log(well_data, depth_uom='m')
|
|
203
203
|
>>> fig.show()
|
|
204
204
|
"""
|
|
205
|
-
|
|
206
|
-
if trace_defs == dict():
|
|
207
|
-
trace_defs = TRACE_DEFS
|
|
208
|
-
default_flags = True
|
|
205
|
+
trace_defs = TRACE_DEFS if trace_defs == dict() else trace_defs
|
|
209
206
|
|
|
210
207
|
xaxis_defs = xaxis_defs or XAXIS_DEFS
|
|
211
208
|
no_of_track = max([trace['track'] for trace in trace_defs.values()])
|
|
@@ -237,7 +234,7 @@ def plotly_log(well_data, well_name: str = '', depth_uom="", trace_defs: dict =
|
|
|
237
234
|
fig = add_defined_traces(fig, df, index, no_of_track, trace_defs)
|
|
238
235
|
|
|
239
236
|
# --- ROCK_FLAG_X traces (special style, always on track 7, secondary_y=False) ---
|
|
240
|
-
if 'ROCK_FLAG_0' in df.columns and no_of_track >= 7 and
|
|
237
|
+
if 'ROCK_FLAG_0' in df.columns and no_of_track >= 7 and 'ROCK_FLAG_0' in trace_defs.keys():
|
|
241
238
|
rock_flag_columns = [col for col in df.columns if col.startswith('ROCK_FLAG_')]
|
|
242
239
|
# Remove 'ROCK_FLAG_0' if it already exists as a trace in fig.data
|
|
243
240
|
if any(trace.name == 'ROCK_FLAG_0' for trace in fig.data):
|
|
@@ -254,7 +251,7 @@ def plotly_log(well_data, well_name: str = '', depth_uom="", trace_defs: dict =
|
|
|
254
251
|
), row=1, col=7, secondary_y=False)
|
|
255
252
|
|
|
256
253
|
# --- COAL_FLAG traces (special style, always on tracks 4-8, secondary_y=True) ---
|
|
257
|
-
if 'COAL_FLAG' in df.columns and no_of_track >= 8
|
|
254
|
+
if 'COAL_FLAG' in df.columns and no_of_track >= 8:
|
|
258
255
|
COAL_FLAG_HOVER = np.where(df['COAL_FLAG'] == 1, 'COAL_FLAG<extra></extra>', '<extra></extra>')
|
|
259
256
|
df['COAL_FLAG'] = df['COAL_FLAG'].replace({0: 1e-3, 1: 1e9}) # Cater for plotting on log scale
|
|
260
257
|
for c in [4, 5, 6, 7, 8]:
|
|
@@ -327,7 +327,7 @@ XAXIS_DEFS = dict(
|
|
|
327
327
|
title={'text': 'GR (API)', 'font': {'color': COLOR_DICT['GR'], 'size': font_size}},
|
|
328
328
|
tickfont={'color': COLOR_DICT['GR'], 'size': font_size},
|
|
329
329
|
side='top', anchor='free', position=.85,
|
|
330
|
-
title_standoff=.1, dtick=
|
|
330
|
+
title_standoff=.1, dtick=50, range=[0, 200], type='linear', zeroline=False
|
|
331
331
|
),
|
|
332
332
|
RT=dict(
|
|
333
333
|
title={'text': 'RT (ohm.m)', 'font': {'color': COLOR_DICT['RT'], 'size': font_size}},
|
|
@@ -413,13 +413,13 @@ XAXIS_DEFS = dict(
|
|
|
413
413
|
title={'text': 'CALI (inches)', 'font': {'color': COLOR_DICT['CALI'], 'size': font_size}},
|
|
414
414
|
tickfont={'color': COLOR_DICT['CALI'], 'size': font_size},
|
|
415
415
|
side='top', anchor='free', position=.89, title_standoff=.1, overlaying='x1',
|
|
416
|
-
dtick=
|
|
416
|
+
dtick=4, range=[4, 20], type='linear', showgrid=False
|
|
417
417
|
),
|
|
418
418
|
BS=dict(
|
|
419
419
|
title={'text': 'BS (inches)', 'font': {'color': COLOR_DICT['BS'], 'size': font_size}},
|
|
420
420
|
tickfont={'color': COLOR_DICT['BS'], 'size': font_size},
|
|
421
421
|
side='top', anchor='free', position=.92, title_standoff=.1, overlaying='x1',
|
|
422
|
-
dtick=
|
|
422
|
+
dtick=4, range=[4, 20], type='linear', showgrid=False
|
|
423
423
|
),
|
|
424
424
|
BADHOLE=dict(
|
|
425
425
|
title={'text': 'BADHOLE', 'font': {'color': COLOR_DICT['BADHOLE'], 'size': font_size}},
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|