Skip to content

Commit 4e22de6

Browse files
committed
Update rips module, proto files, and Python examples
1 parent 6b46c92 commit 4e22de6

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

docs/rips/PythonExamples/wells_and_fractures/create_surface_from_thermal_fracture.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def export_surface_as_ts_file(surf, point_cloud, properties, path):
9494
for fracture in fractures:
9595
fracture_name = fracture.user_description
9696

97-
# Create the ouput directory
97+
# Create the output directory
9898
output_directory = (
9999
Path(home_dir) / "thermal_fracture_surfaces" / "{}".format(fracture_name)
100100
)

docs/rips/case.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -540,9 +540,9 @@ def create_lgr_for_completion(
540540
--------------- | -------------------------------------- | -----
541541
time_steps | Time step index | Integer
542542
well_path_names | List of well path names | List of Strings
543-
refinement_i | Refinment in x-direction | Integer
544-
refinement_j | Refinment in y-direction | Integer
545-
refinement_k | Refinment in z-direction | Integer
543+
refinement_i | Refinement in x-direction | Integer
544+
refinement_j | Refinement in y-direction | Integer
545+
refinement_k | Refinement in z-direction | Integer
546546
split_type | Defines how to split LGRS | String enum
547547
548548
**Enum split_type**::

docs/rips/generated/generated_classes.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -217,13 +217,13 @@ class SurfaceInterface(PdmObjectBase):
217217
"""
218218
Attributes:
219219
depth_offset (float): Depth Offset
220-
surface_user_decription (str): Name
220+
surface_user_description (str): Name
221221
"""
222222
__custom_init__ = None #: Assign a custom init routine to be run at __init__
223223

224224
def __init__(self, pb2_object: Optional[PdmObject_pb2.PdmObject]=None, channel: Optional[grpc.Channel]=None) -> None:
225225
self.depth_offset: float = 0.000000000000000e+00
226-
self.surface_user_decription: str = ""
226+
self.surface_user_description: str = ""
227227
PdmObjectBase.__init__(self, pb2_object, channel)
228228
if SurfaceInterface.__custom_init__ is not None:
229229
SurfaceInterface.__custom_init__(self, pb2_object=pb2_object, channel=channel)
@@ -404,12 +404,12 @@ def __init__(self, pb2_object: Optional[PdmObject_pb2.PdmObject]=None, channel:
404404
class SurfaceCollection(PdmObjectBase):
405405
"""
406406
Attributes:
407-
surface_user_decription (str): Name
407+
surface_user_description (str): Name
408408
"""
409409
__custom_init__ = None #: Assign a custom init routine to be run at __init__
410410

411411
def __init__(self, pb2_object: Optional[PdmObject_pb2.PdmObject]=None, channel: Optional[grpc.Channel]=None) -> None:
412-
self.surface_user_decription: str = "Surfaces"
412+
self.surface_user_description: str = "Surfaces"
413413
PdmObjectBase.__init__(self, pb2_object, channel)
414414
if SurfaceCollection.__custom_init__ is not None:
415415
SurfaceCollection.__custom_init__(self, pb2_object=pb2_object, channel=channel)
@@ -777,7 +777,7 @@ def append_fracture_template(self, file_path: str="") -> StimPlanFractureTemplat
777777
Create a new StimPlan Fracture Template
778778
779779
Arguments:
780-
file_path (str): File Path to StimPlan Countour File
780+
file_path (str): File Path to StimPlan Contour File
781781
Returns:
782782
StimPlanFractureTemplate
783783
"""

docs/rips/simulation_well.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def cells(
7979

8080
@add_method(SimulationWell)
8181
def accumulated_perforation_length(self: SimulationWell, timestep: int) -> float:
82-
"""Get accumulated perforation lenght for the given timestep.
82+
"""Get accumulated perforation length for the given timestep.
8383
If a well is closed the length will be 0.
8484
8585
Arguments:

docs/rips/tests/test_surfaces.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def test_create_regular_surface(rips_instance, initialize_test):
7676
):
7777
s.set_property("property_too_big", [i for i in range(nx * ny * 2)])
7878

79-
# Sucessfully set the depth property
79+
# Successfully set the depth property
8080
s.set_property("depth", [i for i in range(nx * ny)])
8181
s.set_property_as_depth("depth")
8282

docs/rips/tests/test_wells_path_completions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def test_add_well_path_completions(rips_instance, initialize_test):
8888

8989
def test_add_well_path_fracture_template(rips_instance, initialize_test):
9090
# Add test for all properties
91-
# Some properties depend on availablility of other data and is not tested, these tests are commented out
91+
# Some properties depend on availability of other data and is not tested, these tests are commented out
9292

9393
fracture_template = rips_instance.project.descendants(rips.FractureTemplate)[0]
9494
fracture_template.azimuth_angle = 23.0

0 commit comments

Comments
 (0)