well-log-toolkit 0.1.126__py3-none-any.whl → 0.1.127__py3-none-any.whl
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.
- well_log_toolkit/visualization.py +5 -4
- {well_log_toolkit-0.1.126.dist-info → well_log_toolkit-0.1.127.dist-info}/METADATA +1 -1
- {well_log_toolkit-0.1.126.dist-info → well_log_toolkit-0.1.127.dist-info}/RECORD +5 -5
- {well_log_toolkit-0.1.126.dist-info → well_log_toolkit-0.1.127.dist-info}/WHEEL +0 -0
- {well_log_toolkit-0.1.126.dist-info → well_log_toolkit-0.1.127.dist-info}/top_level.txt +0 -0
|
@@ -24,6 +24,7 @@ from .regression import (
|
|
|
24
24
|
LinearRegression, LogarithmicRegression, ExponentialRegression,
|
|
25
25
|
PolynomialRegression, PowerRegression
|
|
26
26
|
)
|
|
27
|
+
from .exceptions import PropertyNotFoundError
|
|
27
28
|
|
|
28
29
|
# Default color palettes
|
|
29
30
|
DEFAULT_COLORS = [
|
|
@@ -3033,7 +3034,7 @@ class Crossplot:
|
|
|
3033
3034
|
if needs_alignment(color_prop.depth, depths):
|
|
3034
3035
|
color_values = np.interp(depths, color_prop.depth, color_prop.values, left=np.nan, right=np.nan)
|
|
3035
3036
|
df['color_val'] = color_values
|
|
3036
|
-
except (AttributeError, KeyError):
|
|
3037
|
+
except (AttributeError, KeyError, PropertyNotFoundError):
|
|
3037
3038
|
warnings.warn(f"Color property '{self.color}' not found in well '{well.name}', using depth")
|
|
3038
3039
|
df['color_val'] = depths
|
|
3039
3040
|
elif self.color == "depth":
|
|
@@ -3048,7 +3049,7 @@ class Crossplot:
|
|
|
3048
3049
|
if needs_alignment(size_prop.depth, depths):
|
|
3049
3050
|
size_values = np.interp(depths, size_prop.depth, size_prop.values, left=np.nan, right=np.nan)
|
|
3050
3051
|
df['size_val'] = size_values
|
|
3051
|
-
except (AttributeError, KeyError):
|
|
3052
|
+
except (AttributeError, KeyError, PropertyNotFoundError):
|
|
3052
3053
|
warnings.warn(f"Size property '{self.size}' not found in well '{well.name}'")
|
|
3053
3054
|
|
|
3054
3055
|
# Add shape property if specified and not "well"
|
|
@@ -3060,12 +3061,12 @@ class Crossplot:
|
|
|
3060
3061
|
if needs_alignment(shape_prop.depth, depths):
|
|
3061
3062
|
shape_values = np.interp(depths, shape_prop.depth, shape_prop.values, left=np.nan, right=np.nan)
|
|
3062
3063
|
df['shape_val'] = shape_values
|
|
3063
|
-
except (AttributeError, KeyError):
|
|
3064
|
+
except (AttributeError, KeyError, PropertyNotFoundError):
|
|
3064
3065
|
warnings.warn(f"Shape property '{self.shape}' not found in well '{well.name}'")
|
|
3065
3066
|
|
|
3066
3067
|
all_data.append(df)
|
|
3067
3068
|
|
|
3068
|
-
except (AttributeError, KeyError) as e:
|
|
3069
|
+
except (AttributeError, KeyError, PropertyNotFoundError) as e:
|
|
3069
3070
|
warnings.warn(f"Could not get properties for well '{well.name}': {e}")
|
|
3070
3071
|
continue
|
|
3071
3072
|
|
|
@@ -7,9 +7,9 @@ well_log_toolkit/property.py,sha256=WOzoNQcmHCQ8moIKsnSyLgVC8s4LBu2x5IBXtFzmMe8,
|
|
|
7
7
|
well_log_toolkit/regression.py,sha256=7D3oI-1XVlFb-mOoHTxTTtUHERFyvQSBAzJzAGVoZnk,25192
|
|
8
8
|
well_log_toolkit/statistics.py,sha256=_huPMbv2H3o9ezunjEM94mJknX5wPK8V4nDv2lIZZRw,16814
|
|
9
9
|
well_log_toolkit/utils.py,sha256=O2KPq4htIoUlL74V2zKftdqqTjRfezU9M-568zPLme0,6866
|
|
10
|
-
well_log_toolkit/visualization.py,sha256=
|
|
10
|
+
well_log_toolkit/visualization.py,sha256=tNaS1BPr1kLmr73BKqCBOSMptDdsxVofDic6vJ1iyr4,157418
|
|
11
11
|
well_log_toolkit/well.py,sha256=7RzbC7zud5M53zZ8FmuQP0GPhUP5Y6RiFjTuf4_oMWE,104419
|
|
12
|
-
well_log_toolkit-0.1.
|
|
13
|
-
well_log_toolkit-0.1.
|
|
14
|
-
well_log_toolkit-0.1.
|
|
15
|
-
well_log_toolkit-0.1.
|
|
12
|
+
well_log_toolkit-0.1.127.dist-info/METADATA,sha256=6WtUXbcWy0jWgfCF2Fv06MoBHIvEJREjksDth_Q-PL8,59810
|
|
13
|
+
well_log_toolkit-0.1.127.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
14
|
+
well_log_toolkit-0.1.127.dist-info/top_level.txt,sha256=BMOo7OKLcZEnjo0wOLMclwzwTbYKYh31I8RGDOGSBdE,17
|
|
15
|
+
well_log_toolkit-0.1.127.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|