Skip to content

Commit cfce13e

Browse files
Merge branch 'dipdir_fix'
2 parents f8920c7 + 3c2abe5 commit cfce13e

File tree

4 files changed

+4
-9
lines changed

4 files changed

+4
-9
lines changed

conda/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
package:
55
name: "{{ name|lower }}"
66
# version: "{{ environ.get('GIT_DESCRIBE_TAG', '') }}"
7-
version: "1.3.4"
7+
version: "1.3.5"
88

99
source:
1010
git_url: https://github.com/Loop3D/map2loop-2

map2loop/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# import map2loop
99
# map2loop._clut_path = newpath
1010

11-
__version__ = "1.3.4"
11+
__version__ = "1.3.5"
1212

1313
geology_loopdata = {
1414
"WA": "http://13.211.217.129:8080/geoserver/loop/wfs?service=WFS&version=1.0.0&request=GetFeature&typeName=loop:500k_geol_28350&bbox={BBOX_STR}&srs=EPSG:28350&outputFormat=shape-zip",

map2loop/m2l_utils.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -952,12 +952,7 @@ def ddd2dircos(dip, dipdir):
952952

953953

954954
def dircos2ddd(l, m, n):
955-
if m > 0:
956-
dipdir = (360 + degrees(atan2(l, m))) % 360
957-
elif m < 0:
958-
dipdir = (540 + degrees(atan2(l, m))) % 360
959-
else:
960-
dipdir = 90
955+
dipdir = degrees(atan2(l, m)) % 360
961956
dip = 90 - degrees(asin(n))
962957
if dip > 90:
963958
dip = 180 - dip

map2loop/project.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ def __init__(
224224
"formation_thickness": True,
225225
"polarity": False,
226226
"strat_offset": True,
227-
"contact_dips": True,
227+
"contact_dips": False,
228228
"drillholes": False,
229229
"cover_contacts": True,
230230
"cover_orientations": True,

0 commit comments

Comments
 (0)