utdquake 0.2.1__tar.gz → 0.2.2__tar.gz
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.
- {utdquake-0.2.1/utdquake.egg-info → utdquake-0.2.2}/PKG-INFO +3 -1
- {utdquake-0.2.1 → utdquake-0.2.2}/README.md +2 -0
- {utdquake-0.2.1 → utdquake-0.2.2}/utdquake/__init__.py +1 -1
- {utdquake-0.2.1 → utdquake-0.2.2}/utdquake/bank/utils.py +4 -0
- {utdquake-0.2.1 → utdquake-0.2.2}/utdquake/core/utdquake.py +1 -1
- {utdquake-0.2.1 → utdquake-0.2.2}/utdquake/writers/schema.py +4 -3
- {utdquake-0.2.1 → utdquake-0.2.2/utdquake.egg-info}/PKG-INFO +3 -1
- {utdquake-0.2.1 → utdquake-0.2.2}/LICENSE +0 -0
- {utdquake-0.2.1 → utdquake-0.2.2}/setup.cfg +0 -0
- {utdquake-0.2.1 → utdquake-0.2.2}/setup.py +0 -0
- {utdquake-0.2.1 → utdquake-0.2.2}/utdquake/bank/__init__.py +0 -0
- {utdquake-0.2.1 → utdquake-0.2.2}/utdquake/bank/bank.py +0 -0
- {utdquake-0.2.1 → utdquake-0.2.2}/utdquake/core/__init__.py +0 -0
- {utdquake-0.2.1 → utdquake-0.2.2}/utdquake/core/config.py +0 -0
- {utdquake-0.2.1 → utdquake-0.2.2}/utdquake/core/data.py +0 -0
- {utdquake-0.2.1 → utdquake-0.2.2}/utdquake/core/load.py +0 -0
- {utdquake-0.2.1 → utdquake-0.2.2}/utdquake/core/patch.py +0 -0
- {utdquake-0.2.1 → utdquake-0.2.2}/utdquake/core/utils.py +0 -0
- {utdquake-0.2.1 → utdquake-0.2.2}/utdquake/qc/__init__.py +0 -0
- {utdquake-0.2.1 → utdquake-0.2.2}/utdquake/qc/catalog.py +0 -0
- {utdquake-0.2.1 → utdquake-0.2.2}/utdquake/qc/config.py +0 -0
- {utdquake-0.2.1 → utdquake-0.2.2}/utdquake/qc/events.py +0 -0
- {utdquake-0.2.1 → utdquake-0.2.2}/utdquake/qc/log.py +0 -0
- {utdquake-0.2.1 → utdquake-0.2.2}/utdquake/qc/picks.py +0 -0
- {utdquake-0.2.1 → utdquake-0.2.2}/utdquake/qc/travel_time.py +0 -0
- {utdquake-0.2.1 → utdquake-0.2.2}/utdquake/utils/__init__.py +0 -0
- {utdquake-0.2.1 → utdquake-0.2.2}/utdquake/utils/cache.py +0 -0
- {utdquake-0.2.1 → utdquake-0.2.2}/utdquake/utils/plot.py +0 -0
- {utdquake-0.2.1 → utdquake-0.2.2}/utdquake/utils/utils.py +0 -0
- {utdquake-0.2.1 → utdquake-0.2.2}/utdquake/writers/__init__.py +0 -0
- {utdquake-0.2.1 → utdquake-0.2.2}/utdquake/writers/manifest.py +0 -0
- {utdquake-0.2.1 → utdquake-0.2.2}/utdquake/writers/parquet.py +0 -0
- {utdquake-0.2.1 → utdquake-0.2.2}/utdquake.egg-info/SOURCES.txt +0 -0
- {utdquake-0.2.1 → utdquake-0.2.2}/utdquake.egg-info/dependency_links.txt +0 -0
- {utdquake-0.2.1 → utdquake-0.2.2}/utdquake.egg-info/requires.txt +0 -0
- {utdquake-0.2.1 → utdquake-0.2.2}/utdquake.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: utdquake
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: University of Texas at Dallas Earthquake Dataset
|
|
5
5
|
Home-page: https://github.com/ecastillot/UTDQuake
|
|
6
6
|
Author: ecastillot (Emmanuel Castillo)
|
|
@@ -48,6 +48,8 @@ Dynamic: summary
|
|
|
48
48
|
# <span style="background:#E87500; color:white; padding:2px 6px; border-radius:6px;">UTD</span>Quake
|
|
49
49
|
-->
|
|
50
50
|
|
|
51
|
+
[](https://huggingface.co/datasets/ecastillot/UTDQuake) [](https://utdquake.readthedocs.io/en/latest/index.html)
|
|
52
|
+
|
|
51
53
|
**University of Texas at Dallas Earthquake Dataset**
|
|
52
54
|
|
|
53
55
|
A global earthquake dataset constructed from high-quality source and receiver metadata, including associated seismic phase picks across diverse station geometries.
|
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
# <span style="background:#E87500; color:white; padding:2px 6px; border-radius:6px;">UTD</span>Quake
|
|
9
9
|
-->
|
|
10
10
|
|
|
11
|
+
[](https://huggingface.co/datasets/ecastillot/UTDQuake) [](https://utdquake.readthedocs.io/en/latest/index.html)
|
|
12
|
+
|
|
11
13
|
**University of Texas at Dallas Earthquake Dataset**
|
|
12
14
|
|
|
13
15
|
A global earthquake dataset constructed from high-quality source and receiver metadata, including associated seismic phase picks across diverse station geometries.
|
|
@@ -1721,6 +1721,10 @@ def destination_point(lat1_deg, lon1_deg, azimuth_deg, distance_deg):
|
|
|
1721
1721
|
spherical forward problem
|
|
1722
1722
|
Compute destination lat/lon given a starting point, azimuth, and distance in degrees.
|
|
1723
1723
|
|
|
1724
|
+
see here:
|
|
1725
|
+
- https://edwilliams.org/avform147.htm#LL
|
|
1726
|
+
- Snyder, J. P. 1926-1997. (1987). Map projections--a working manual. Washington: U.S. G.P.O. . Page 31 (page 45-scanned version)
|
|
1727
|
+
|
|
1724
1728
|
Args:
|
|
1725
1729
|
lat1_deg: Latitude of starting point (degrees)
|
|
1726
1730
|
lon1_deg: Longitude of starting point (degrees)
|
|
@@ -503,7 +503,7 @@ class Network:
|
|
|
503
503
|
Parameters
|
|
504
504
|
----------
|
|
505
505
|
name : str
|
|
506
|
-
Network name (e.g. "tx", "uw", "
|
|
506
|
+
Network name (e.g. "tx", "uw", "UWF").
|
|
507
507
|
das : bool, optional
|
|
508
508
|
Whether to use the DAS or not. If so, tou may define DAS cache root environment variable (`UTDQUAKE_DAS_ROOT`).
|
|
509
509
|
"""
|
|
@@ -70,7 +70,7 @@ PREF_STATIONS_TYPES = {
|
|
|
70
70
|
PREF_STATIONS_ORDER = list(PREF_STATIONS_TYPES.keys())
|
|
71
71
|
|
|
72
72
|
PREF_EVENTS_ORDER = ["network",
|
|
73
|
-
|
|
73
|
+
"time",
|
|
74
74
|
"latitude",
|
|
75
75
|
"longitude",
|
|
76
76
|
"depth",
|
|
@@ -89,6 +89,7 @@ PREF_PICKS_ORDER = [
|
|
|
89
89
|
"azimuth",
|
|
90
90
|
"evaluation_mode",
|
|
91
91
|
"event_id",
|
|
92
|
+
"pick_agency",
|
|
92
93
|
"origin_time",
|
|
93
94
|
]
|
|
94
95
|
|
|
@@ -172,7 +173,7 @@ for k,v in PREF_PICKS_QC_TYPES.items():
|
|
|
172
173
|
PREF_PICKS_TYPES[k].extend(v)
|
|
173
174
|
|
|
174
175
|
# Add extra columns to picks types
|
|
175
|
-
PREF_PICKS_TYPES["string_cols"].extend(["network","event_id",])
|
|
176
|
+
PREF_PICKS_TYPES["string_cols"].extend(["network","event_id","pick_agency"])
|
|
176
177
|
PREF_PICKS_TYPES["float_cols"].extend(["travel_time","linear_hyp_distance"])
|
|
177
178
|
|
|
178
179
|
# Preferred event types
|
|
@@ -356,7 +357,7 @@ def sanitize_dataframe(
|
|
|
356
357
|
print(f"Step 6: Forced boolean columns: {bool_cols}")
|
|
357
358
|
|
|
358
359
|
# ---- 7. Auto-handle remaining object columns ----
|
|
359
|
-
for c in df.select_dtypes(include=["object"]).columns:
|
|
360
|
+
for c in df.select_dtypes(include=["object","string"]).columns:
|
|
360
361
|
df[c] = df[c].astype("string")
|
|
361
362
|
|
|
362
363
|
# ---- 8. Numeric columns → float64 for Arrow safety ----
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: utdquake
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: University of Texas at Dallas Earthquake Dataset
|
|
5
5
|
Home-page: https://github.com/ecastillot/UTDQuake
|
|
6
6
|
Author: ecastillot (Emmanuel Castillo)
|
|
@@ -48,6 +48,8 @@ Dynamic: summary
|
|
|
48
48
|
# <span style="background:#E87500; color:white; padding:2px 6px; border-radius:6px;">UTD</span>Quake
|
|
49
49
|
-->
|
|
50
50
|
|
|
51
|
+
[](https://huggingface.co/datasets/ecastillot/UTDQuake) [](https://utdquake.readthedocs.io/en/latest/index.html)
|
|
52
|
+
|
|
51
53
|
**University of Texas at Dallas Earthquake Dataset**
|
|
52
54
|
|
|
53
55
|
A global earthquake dataset constructed from high-quality source and receiver metadata, including associated seismic phase picks across diverse station geometries.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|