tectonic-utils 0.1.2__py3-none-any.whl → 0.1.3__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.
@@ -5,7 +5,7 @@ Useful utilities for defining fault planes and coordinate systems.
5
5
  import numpy as np
6
6
  import math
7
7
  from collections.abc import Iterable
8
- from Tectonic_Utils.geodesy import haversine, utilities
8
+ from . import haversine, utilities
9
9
 
10
10
 
11
11
  def xy2lonlat_single(xi, yi, reflon, reflat):
@@ -71,7 +71,7 @@ def xy2lonlat(xi, yi, reflon, reflat):
71
71
  if not isinstance(yi, Iterable): # if single value, return single value
72
72
  return xy2lonlat_single(xi, yi, reflon, reflat)
73
73
  else:
74
- raise ValueError(f"Error! Dimension of x and y does not agree: {xi} {yi}" )
74
+ raise ValueError(f"Error! Dimension of x and y does not agree: {xi} {yi}")
75
75
  if len(list(xi)) != len(list(yi)):
76
76
  raise ValueError(f'Error! Length of x and y does not agree: {len(list(xi))} {len(list(yi))}')
77
77
 
@@ -103,7 +103,7 @@ def latlon2xy(loni, lati, lon0, lat0):
103
103
  if not isinstance(lati, Iterable): # if single value, return single value
104
104
  return latlon2xy_single(loni, lati, lon0, lat0)
105
105
  else:
106
- raise ValueError(f"Error! Dimension of x and y does not agree: {loni} {lati}" )
106
+ raise ValueError(f"Error! Dimension of x and y does not agree: {loni} {lati}")
107
107
  if len(list(loni)) != len(list(lati)):
108
108
  raise ValueError(f'Error! Length of x and y does not agree: {len(list(loni))} {len(list(lati))}')
109
109
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tectonic-utils
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: A small package of useful geophysics utilities
5
5
  Home-page: https://github.com/kmaterna/Tectonic_Utils
6
6
  License: MIT
@@ -8,7 +8,7 @@ tectonic_utils/geodesy/.ruff_cache/CACHEDIR.TAG,sha256=WVMVbX4MVkpCclExbq8m-IcOZ
8
8
  tectonic_utils/geodesy/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
9
  tectonic_utils/geodesy/datums.py,sha256=z_IAhNFMSz7avDt2WhxZnU5Y2SMjMrVdszO0BwYEbsM,11000
10
10
  tectonic_utils/geodesy/euler_pole.py,sha256=0KNBnmHegL0ARA6uSySEZBtmzC3hfMUYjBoNrHAjGpk,6418
11
- tectonic_utils/geodesy/fault_vector_functions.py,sha256=vAdIX2evtitrheyK4LWNIEx3BNskp3J0jvyYDgl40rM,12823
11
+ tectonic_utils/geodesy/fault_vector_functions.py,sha256=8XyJrqhq3Q5uTF5YRvgsBcaVII7HxxxuNpynFozn2AI,12800
12
12
  tectonic_utils/geodesy/haversine.py,sha256=aRoeztLfe8zFiNKupWN33AA9VrS5uU-ZAzQVQf5Oqao,6945
13
13
  tectonic_utils/geodesy/insar_vector_functions.py,sha256=1MLy5J2W3jHjMbtyeuLL74HPLF8CW1ztIxHFaLXsWhc,11446
14
14
  tectonic_utils/geodesy/linear_elastic.py,sha256=wdTB4m_nDbUCUPNlUxjTScfAjCxGIUqhN4wRhYNeqng,6476
@@ -45,7 +45,7 @@ tectonic_utils/seismo/test/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJ
45
45
  tectonic_utils/seismo/test/test_WC.py,sha256=d7qNTPAPDKPu2bRlpS5f5pNwRfrN7ZbxKhBGuIu-ZuQ,544
46
46
  tectonic_utils/seismo/test/test_second_focal_plane.py,sha256=bb5-wMkeLgZPXW5qpqXo4BMNIjKQdVP8ZlAnI_uw3QA,473
47
47
  tectonic_utils/seismo/wells_and_coppersmith.py,sha256=NXbUVXDgifqTro-DeOXdFe6_eOQ82sVg6_rWvg0p-g0,6003
48
- tectonic_utils-0.1.2.dist-info/LICENSE.md,sha256=BoWwOxP7snl4zEufDQFfftDiyZgYqGr09E7brqIs8M4,1072
49
- tectonic_utils-0.1.2.dist-info/METADATA,sha256=j-vlc-aRZKbDMMTOfefURKVn4gUPTAINe52eDRLFTaQ,3524
50
- tectonic_utils-0.1.2.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
51
- tectonic_utils-0.1.2.dist-info/RECORD,,
48
+ tectonic_utils-0.1.3.dist-info/LICENSE.md,sha256=BoWwOxP7snl4zEufDQFfftDiyZgYqGr09E7brqIs8M4,1072
49
+ tectonic_utils-0.1.3.dist-info/METADATA,sha256=xM1kSqIXE5ufbS_u2BO-SaWR8OQnF0-gbsyNsWxFaRI,3524
50
+ tectonic_utils-0.1.3.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
51
+ tectonic_utils-0.1.3.dist-info/RECORD,,