tectonic-utils 0.1.3__py3-none-any.whl → 0.2.0__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.
- tectonic_utils/read_write/test/test_conversion_functions.py +3 -3
- {tectonic_utils-0.1.3.dist-info → tectonic_utils-0.2.0.dist-info}/METADATA +3 -3
- {tectonic_utils-0.1.3.dist-info → tectonic_utils-0.2.0.dist-info}/RECORD +5 -22
- tectonic_utils/.DS_Store +0 -0
- tectonic_utils/geodesy/.DS_Store +0 -0
- tectonic_utils/geodesy/.ruff_cache/.gitignore +0 -1
- tectonic_utils/geodesy/.ruff_cache/0.1.5/15663111236935520357 +0 -0
- tectonic_utils/geodesy/.ruff_cache/CACHEDIR.TAG +0 -1
- tectonic_utils/geodesy/test/.DS_Store +0 -0
- tectonic_utils/read_write/.DS_Store +0 -0
- tectonic_utils/read_write/.ruff_cache/.gitignore +0 -1
- tectonic_utils/read_write/.ruff_cache/0.1.5/680373307893520726 +0 -0
- tectonic_utils/read_write/.ruff_cache/CACHEDIR.TAG +0 -1
- tectonic_utils/read_write/test/.DS_Store +0 -0
- tectonic_utils/read_write/test/written_example.grd +0 -0
- tectonic_utils/seismo/.DS_Store +0 -0
- tectonic_utils/seismo/.ruff_cache/.gitignore +0 -1
- tectonic_utils/seismo/.ruff_cache/0.1.5/12911000862714636977 +0 -0
- tectonic_utils/seismo/.ruff_cache/CACHEDIR.TAG +0 -1
- tectonic_utils/seismo/test/.DS_Store +0 -0
- {tectonic_utils-0.1.3.dist-info → tectonic_utils-0.2.0.dist-info}/LICENSE.md +0 -0
- {tectonic_utils-0.1.3.dist-info → tectonic_utils-0.2.0.dist-info}/WHEEL +0 -0
@@ -28,9 +28,9 @@ class Tests(unittest.TestCase):
|
|
28
28
|
subprocess.call(['rm', 'gmt.history'], shell=False)
|
29
29
|
|
30
30
|
# Test a read-write cycle on an example grid
|
31
|
-
[x, y, z] = netcdf_read_write.read_any_grd("
|
32
|
-
netcdf_read_write.write_netcdf4(x, y, z, "
|
33
|
-
netcdf_read_write.parse_pixelnode_registration("
|
31
|
+
[x, y, z] = netcdf_read_write.read_any_grd("tectonic_utils/read_write/test/example_grd.grd")
|
32
|
+
netcdf_read_write.write_netcdf4(x, y, z, "tectonic_utils/read_write/test/written_example.grd")
|
33
|
+
netcdf_read_write.parse_pixelnode_registration("tectonic_utils/read_write/test/written_example.grd")
|
34
34
|
subprocess.call(['rm', 'gmt.history'], shell=False)
|
35
35
|
|
36
36
|
return
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: tectonic-utils
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.2.0
|
4
4
|
Summary: A small package of useful geophysics utilities
|
5
5
|
Home-page: https://github.com/kmaterna/Tectonic_Utils
|
6
6
|
License: MIT
|
@@ -52,12 +52,12 @@ Functions in this library that I use regularly:
|
|
52
52
|
## Installation
|
53
53
|
On Unix (other systems not tested yet), install from PyPI using:
|
54
54
|
|
55
|
-
```pip install
|
55
|
+
```pip install tectonic-utils```
|
56
56
|
|
57
57
|
To test that it works, import a utility in Python. I use an import structure like:
|
58
58
|
```
|
59
59
|
$ python
|
60
|
-
>>> from
|
60
|
+
>>> from tectonic_utils.geodesy import haversine
|
61
61
|
```
|
62
62
|
|
63
63
|
## Documentation
|
@@ -1,10 +1,5 @@
|
|
1
|
-
tectonic_utils/.DS_Store,sha256=kRqKlYZrl1RGaoPXapBlMI2wNLE1cqcvn4IknBT8D2Q,6148
|
2
1
|
tectonic_utils/__init__.py,sha256=KhFOyyd1QUbOdza1-ovPLepPkHPoNBYLX0axjvz2Aw4,68
|
3
2
|
tectonic_utils/cover_picture.png,sha256=SioKXhjLRmjUBbVKY-4saEEO3yUVDB06P50Hv8XpLJ8,1733968
|
4
|
-
tectonic_utils/geodesy/.DS_Store,sha256=oELC_Tpc4DH6jDWVlImUeFSN8EDmW2TsXrWR0300T5Y,6148
|
5
|
-
tectonic_utils/geodesy/.ruff_cache/.gitignore,sha256=aEiIwOuxfzdCmLZe4oB1JsBmCUxwG8x-u-HBCV9JT8E,1
|
6
|
-
tectonic_utils/geodesy/.ruff_cache/0.1.5/15663111236935520357,sha256=iRigcC_uE9RzPVJMM_H2-2XRweGq7TPZmatXT-J4Yhk,1014
|
7
|
-
tectonic_utils/geodesy/.ruff_cache/CACHEDIR.TAG,sha256=WVMVbX4MVkpCclExbq8m-IcOZIOuIZf5FrYw5Pk-Ma4,43
|
8
3
|
tectonic_utils/geodesy/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
9
4
|
tectonic_utils/geodesy/datums.py,sha256=z_IAhNFMSz7avDt2WhxZnU5Y2SMjMrVdszO0BwYEbsM,11000
|
10
5
|
tectonic_utils/geodesy/euler_pole.py,sha256=0KNBnmHegL0ARA6uSySEZBtmzC3hfMUYjBoNrHAjGpk,6418
|
@@ -12,40 +7,28 @@ tectonic_utils/geodesy/fault_vector_functions.py,sha256=8XyJrqhq3Q5uTF5YRvgsBcaV
|
|
12
7
|
tectonic_utils/geodesy/haversine.py,sha256=aRoeztLfe8zFiNKupWN33AA9VrS5uU-ZAzQVQf5Oqao,6945
|
13
8
|
tectonic_utils/geodesy/insar_vector_functions.py,sha256=1MLy5J2W3jHjMbtyeuLL74HPLF8CW1ztIxHFaLXsWhc,11446
|
14
9
|
tectonic_utils/geodesy/linear_elastic.py,sha256=wdTB4m_nDbUCUPNlUxjTScfAjCxGIUqhN4wRhYNeqng,6476
|
15
|
-
tectonic_utils/geodesy/test/.DS_Store,sha256=1lFlJ5EFymdzGAUAaI30vcaaLHt3F1LwpG7xILf9jsM,6148
|
16
10
|
tectonic_utils/geodesy/test/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
17
11
|
tectonic_utils/geodesy/test/test_conversion_functions.py,sha256=TVrs3LCMQWPxRUMmvzKAB1f3-Oc40jZk9F4E7uZq28U,3709
|
18
12
|
tectonic_utils/geodesy/test/test_euler_poles.py,sha256=P4rNRnalbfnkCuXnyiuzHjMoqguA1k-2pMEyfch9hvE,1375
|
19
13
|
tectonic_utils/geodesy/test/test_insar_vector_functions.py,sha256=ChHB3dwC-cHpFuSBCxOII1KcoPVNVSIRCEY2ifWsK1o,1561
|
20
14
|
tectonic_utils/geodesy/utilities.py,sha256=538vb-4BCYVUWkwl9V5tKS9DnjJ3KQFjRMPtrKiDjbo,1163
|
21
15
|
tectonic_utils/geodesy/xyz2llh.py,sha256=oPDS7nWl7gJe6WD7DQqvKlrffV69avdpiy0epUwcjzE,8083
|
22
|
-
tectonic_utils/read_write/.DS_Store,sha256=SkDIyIgu4JN5DmqhlYPZoyLgbY4WmKMc6hw6usKijGk,6148
|
23
|
-
tectonic_utils/read_write/.ruff_cache/.gitignore,sha256=aEiIwOuxfzdCmLZe4oB1JsBmCUxwG8x-u-HBCV9JT8E,1
|
24
|
-
tectonic_utils/read_write/.ruff_cache/0.1.5/680373307893520726,sha256=M_jn9qQ1oFwhM09Msm3b_JM7m-TQnsoZ-hR3a17VfVU,177
|
25
|
-
tectonic_utils/read_write/.ruff_cache/CACHEDIR.TAG,sha256=WVMVbX4MVkpCclExbq8m-IcOZIOuIZf5FrYw5Pk-Ma4,43
|
26
16
|
tectonic_utils/read_write/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
27
17
|
tectonic_utils/read_write/general_io.py,sha256=HfXgGqePenAqLQ0WQJEmgxygKORy_9DR5TLlSak9Ezs,2036
|
28
18
|
tectonic_utils/read_write/netcdf_read_write.py,sha256=hFlyDNJFOPaQwihzi0heyW6XNUyLqTQK3MUKwx_MS-Q,14753
|
29
19
|
tectonic_utils/read_write/read_kml.py,sha256=G1wzrCPRljnvRja1dV6-Na6BHqjRLciST2Oh1jgqHK0,2300
|
30
|
-
tectonic_utils/read_write/test/.DS_Store,sha256=1lFlJ5EFymdzGAUAaI30vcaaLHt3F1LwpG7xILf9jsM,6148
|
31
20
|
tectonic_utils/read_write/test/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
32
21
|
tectonic_utils/read_write/test/example_grd.grd,sha256=tJD_Q6IqDMdi2SuN9f0Z70yKyLpUumgDtIqUM42G-48,60395
|
33
|
-
tectonic_utils/read_write/test/test_conversion_functions.py,sha256=
|
34
|
-
tectonic_utils/read_write/test/written_example.grd,sha256=9Ium7MjpxFOvNnr00iYb78jN0n50aiGF26ynnVMrC9M,58986
|
35
|
-
tectonic_utils/seismo/.DS_Store,sha256=l3pS6MjdhXRwqDQMYSmLH9GgZ90rVhOAgOySNGfW8Nk,6148
|
36
|
-
tectonic_utils/seismo/.ruff_cache/.gitignore,sha256=aEiIwOuxfzdCmLZe4oB1JsBmCUxwG8x-u-HBCV9JT8E,1
|
37
|
-
tectonic_utils/seismo/.ruff_cache/0.1.5/12911000862714636977,sha256=y0tMlRMFpMQ44MESW-KBEqvl9vPYdp2UEvfBKMXvyW4,173
|
38
|
-
tectonic_utils/seismo/.ruff_cache/CACHEDIR.TAG,sha256=WVMVbX4MVkpCclExbq8m-IcOZIOuIZf5FrYw5Pk-Ma4,43
|
22
|
+
tectonic_utils/read_write/test/test_conversion_functions.py,sha256=qavhtoFjzvxbYX4lQf5tBwlkn-i3u4iDDBDyqp2t7fQ,1512
|
39
23
|
tectonic_utils/seismo/MT_calculations.py,sha256=ccd-DOVr4Vhj21WfWeicetmICOVOrST8rS0ow_GSt5w,4146
|
40
24
|
tectonic_utils/seismo/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
41
25
|
tectonic_utils/seismo/moment_calculations.py,sha256=ihrBYwhvAPhfT-QZ6oM-lSktjZrnto6TC5N9plSQ9po,1146
|
42
26
|
tectonic_utils/seismo/second_focal_plane.py,sha256=8GTSkeBg6owHk5-KsE6LM0b1NhoPjtQyLXwLu1sDCJo,5436
|
43
|
-
tectonic_utils/seismo/test/.DS_Store,sha256=1lFlJ5EFymdzGAUAaI30vcaaLHt3F1LwpG7xILf9jsM,6148
|
44
27
|
tectonic_utils/seismo/test/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
45
28
|
tectonic_utils/seismo/test/test_WC.py,sha256=d7qNTPAPDKPu2bRlpS5f5pNwRfrN7ZbxKhBGuIu-ZuQ,544
|
46
29
|
tectonic_utils/seismo/test/test_second_focal_plane.py,sha256=bb5-wMkeLgZPXW5qpqXo4BMNIjKQdVP8ZlAnI_uw3QA,473
|
47
30
|
tectonic_utils/seismo/wells_and_coppersmith.py,sha256=NXbUVXDgifqTro-DeOXdFe6_eOQ82sVg6_rWvg0p-g0,6003
|
48
|
-
tectonic_utils-0.
|
49
|
-
tectonic_utils-0.
|
50
|
-
tectonic_utils-0.
|
51
|
-
tectonic_utils-0.
|
31
|
+
tectonic_utils-0.2.0.dist-info/LICENSE.md,sha256=BoWwOxP7snl4zEufDQFfftDiyZgYqGr09E7brqIs8M4,1072
|
32
|
+
tectonic_utils-0.2.0.dist-info/METADATA,sha256=zH32wuKmBoXwpgzHVFxk_BrE6lqohmBm2TWZ42-7S6o,3524
|
33
|
+
tectonic_utils-0.2.0.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
|
34
|
+
tectonic_utils-0.2.0.dist-info/RECORD,,
|
tectonic_utils/.DS_Store
DELETED
Binary file
|
tectonic_utils/geodesy/.DS_Store
DELETED
Binary file
|
@@ -1 +0,0 @@
|
|
1
|
-
*
|
Binary file
|
@@ -1 +0,0 @@
|
|
1
|
-
Signature: 8a477f597d28d172789f06886806bc55
|
Binary file
|
Binary file
|
@@ -1 +0,0 @@
|
|
1
|
-
*
|
Binary file
|
@@ -1 +0,0 @@
|
|
1
|
-
Signature: 8a477f597d28d172789f06886806bc55
|
Binary file
|
Binary file
|
tectonic_utils/seismo/.DS_Store
DELETED
Binary file
|
@@ -1 +0,0 @@
|
|
1
|
-
*
|
Binary file
|
@@ -1 +0,0 @@
|
|
1
|
-
Signature: 8a477f597d28d172789f06886806bc55
|
Binary file
|
File without changes
|
File without changes
|