Skip to content

Commit 348d094

Browse files
committed
after visual inspection of the maxwell plate, it seems i had dip/strike length mixed up. Should improve geoh5py docs.
1 parent 5f733dc commit 348d094

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

geoapps_utils/modelling/plates.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ def from_maxwell_plate_geometry(cls, geometry: PlateGeometry) -> Self:
6464
)
6565

6666
return cls(
67-
strike_length=geometry.width,
68-
dip_length=geometry.length,
67+
strike_length=geometry.length,
68+
dip_length=geometry.width,
6969
width=geometry.thickness,
7070
easting=geometry.position.x,
7171
northing=geometry.position.y,
@@ -84,8 +84,8 @@ def to_maxwell_plate_geometry(self) -> PlateGeometry:
8484
),
8585
dip=self.dip,
8686
dip_direction=self.direction,
87-
length=self.dip_length,
88-
width=self.strike_length,
87+
length=self.strike_length,
88+
width=self.dip_length,
8989
thickness=self.width,
9090
)
9191

0 commit comments

Comments
 (0)