sgf-parser 0.0.3__tar.gz → 0.0.4__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.
- {sgf_parser-0.0.3 → sgf_parser-0.0.4}/PKG-INFO +1 -1
- {sgf_parser-0.0.3 → sgf_parser-0.0.4}/pyproject.toml +1 -1
- {sgf_parser-0.0.3 → sgf_parser-0.0.4}/src/sgf_parser/models/method.py +1 -0
- {sgf_parser-0.0.3 → sgf_parser-0.0.4}/src/sgf_parser/models/method_dp.py +4 -4
- {sgf_parser-0.0.3 → sgf_parser-0.0.4}/src/sgf_parser/models/types.py +6 -6
- {sgf_parser-0.0.3 → sgf_parser-0.0.4}/LICENSE +0 -0
- {sgf_parser-0.0.3 → sgf_parser-0.0.4}/README.md +0 -0
- {sgf_parser-0.0.3 → sgf_parser-0.0.4}/src/sgf_parser/__init__.py +0 -0
- {sgf_parser-0.0.3 → sgf_parser-0.0.4}/src/sgf_parser/datetime_parser.py +0 -0
- {sgf_parser-0.0.3 → sgf_parser-0.0.4}/src/sgf_parser/models/__init__.py +0 -0
- {sgf_parser-0.0.3 → sgf_parser-0.0.4}/src/sgf_parser/models/method_cpt.py +0 -0
- {sgf_parser-0.0.3 → sgf_parser-0.0.4}/src/sgf_parser/models/method_dt.py +0 -0
- {sgf_parser-0.0.3 → sgf_parser-0.0.4}/src/sgf_parser/models/method_rp.py +0 -0
- {sgf_parser-0.0.3 → sgf_parser-0.0.4}/src/sgf_parser/models/method_slb.py +0 -0
- {sgf_parser-0.0.3 → sgf_parser-0.0.4}/src/sgf_parser/models/method_srs.py +0 -0
- {sgf_parser-0.0.3 → sgf_parser-0.0.4}/src/sgf_parser/models/method_sti.py +0 -0
- {sgf_parser-0.0.3 → sgf_parser-0.0.4}/src/sgf_parser/models/method_svt.py +0 -0
- {sgf_parser-0.0.3 → sgf_parser-0.0.4}/src/sgf_parser/models/method_tot.py +0 -0
- {sgf_parser-0.0.3 → sgf_parser-0.0.4}/src/sgf_parser/models/method_tr.py +0 -0
- {sgf_parser-0.0.3 → sgf_parser-0.0.4}/src/sgf_parser/models/method_type.py +0 -0
- {sgf_parser-0.0.3 → sgf_parser-0.0.4}/src/sgf_parser/models/method_wst.py +0 -0
- {sgf_parser-0.0.3 → sgf_parser-0.0.4}/src/sgf_parser/parser.py +0 -0
|
@@ -15,7 +15,7 @@ exclude = '''
|
|
|
15
15
|
|
|
16
16
|
[tool.poetry]
|
|
17
17
|
name = "sgf-parser"
|
|
18
|
-
version = "0.0.
|
|
18
|
+
version = "0.0.4"
|
|
19
19
|
description = "Parser for the Swedish Geotechnical Society / Svenska Geotekniska Föreningen (SGF) data format"
|
|
20
20
|
license = "MIT"
|
|
21
21
|
authors = ["Jostein Leira <jostein@leira.net>"]
|
|
@@ -422,6 +422,7 @@ class Method(BaseModel):
|
|
|
422
422
|
|
|
423
423
|
location_name: str | None = Field(None, alias="KP")
|
|
424
424
|
project_number: str | None = Field(None, alias="HJ")
|
|
425
|
+
borehole_name: str | None = Field(None, alias="HK", description="Investigation point/Borehole name")
|
|
425
426
|
method_type_string: str | None = Field(None, alias="HM")
|
|
426
427
|
|
|
427
428
|
# HX, HY, HZ
|
|
@@ -69,13 +69,13 @@ class MethodDP(Method):
|
|
|
69
69
|
if isinstance(data, dict):
|
|
70
70
|
if "HM" in data and data["HM"] is not None:
|
|
71
71
|
data["type"] = {
|
|
72
|
-
"8": DPType.
|
|
73
|
-
"108A": DPType.
|
|
72
|
+
"8": DPType.DPSHA,
|
|
73
|
+
"108A": DPType.DPSHA,
|
|
74
74
|
"108B": DPType.DPL,
|
|
75
75
|
"108C": DPType.DPM,
|
|
76
76
|
"108D": DPType.DPH,
|
|
77
|
-
"9": DPType.
|
|
78
|
-
"108E": DPType.
|
|
77
|
+
"9": DPType.DPSHB,
|
|
78
|
+
"108E": DPType.DPSHB,
|
|
79
79
|
}[data["HM"]]
|
|
80
80
|
|
|
81
81
|
return data
|
|
@@ -121,10 +121,10 @@ class SoundingClass(enum.StrEnum):
|
|
|
121
121
|
)
|
|
122
122
|
"""
|
|
123
123
|
|
|
124
|
-
JB1 = "
|
|
125
|
-
JB2 = "
|
|
126
|
-
JB3 = "
|
|
127
|
-
JBTOT = "
|
|
124
|
+
JB1 = "JB1"
|
|
125
|
+
JB2 = "JB2"
|
|
126
|
+
JB3 = "JB3"
|
|
127
|
+
JBTOT = "JBTOT"
|
|
128
128
|
|
|
129
129
|
|
|
130
130
|
class Operation(enum.StrEnum):
|
|
@@ -142,8 +142,8 @@ class DPType(enum.StrEnum):
|
|
|
142
142
|
|
|
143
143
|
"""
|
|
144
144
|
|
|
145
|
-
|
|
145
|
+
DPSHA = "DPSHA"
|
|
146
146
|
DPL = "DPL"
|
|
147
147
|
DPM = "DPM"
|
|
148
148
|
DPH = "DPH"
|
|
149
|
-
|
|
149
|
+
DPSHB = "DPSHB"
|
|
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
|