Datasets:
emmanuel commited on
Commit ·
c32427e
1
Parent(s): ca8e753
readme
Browse files
README.md
CHANGED
|
@@ -9,14 +9,73 @@ homepage: https://github.com/ecastillot/UTDQuake
|
|
| 9 |
---
|
| 10 |
|
| 11 |
# <span style="background:#E87500; color:white; padding:2px 6px; border-radius:6px;">UTD</span>Quake
|
| 12 |
-
|
| 13 |
University of Texas at Dallas Earthquake Dataset
|
| 14 |
|
| 15 |
-
|
| 16 |
- Emmanuel Castillo (edc240000@utdallas.edu)
|
| 17 |
- Nadine Ushakov
|
| 18 |
- Marine Denolle
|
| 19 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
|
| 21 |
---
|
| 22 |
license: gpl-3.0
|
|
|
|
| 9 |
---
|
| 10 |
|
| 11 |
# <span style="background:#E87500; color:white; padding:2px 6px; border-radius:6px;">UTD</span>Quake
|
|
|
|
| 12 |
University of Texas at Dallas Earthquake Dataset
|
| 13 |
|
| 14 |
+
**Authors**
|
| 15 |
- Emmanuel Castillo (edc240000@utdallas.edu)
|
| 16 |
- Nadine Ushakov
|
| 17 |
- Marine Denolle
|
| 18 |
|
| 19 |
+
## What’s inside?
|
| 20 |
+
|
| 21 |
+
- `events/` → zipped datasets per network (`*.zip`)
|
| 22 |
+
- Each network contains event and pick information (when available)
|
| 23 |
+
|
| 24 |
+
## Quick start
|
| 25 |
+
|
| 26 |
+
### Access
|
| 27 |
+
```python
|
| 28 |
+
import utdquake as utdq
|
| 29 |
+
|
| 30 |
+
# loads tx
|
| 31 |
+
bank = utdq.load_network("tx")
|
| 32 |
+
print(bank.stats)
|
| 33 |
+
|
| 34 |
+
# read events information
|
| 35 |
+
df = bank.read_index()
|
| 36 |
+
print(df.head())
|
| 37 |
+
|
| 38 |
+
ev_ids = df["event_id"].tolist()[:5]
|
| 39 |
+
picks = bank.get_picks(event_ids=ev_ids)
|
| 40 |
+
print(picks)
|
| 41 |
+
```
|
| 42 |
+
|
| 43 |
+
### Catalog
|
| 44 |
+
```python
|
| 45 |
+
# get Obspy Catalog
|
| 46 |
+
catalog = bank.get_events(starttime=UTCDateTime("2025-07-31T00:00:00"),
|
| 47 |
+
endtime=UTCDateTime("2025-07-31T12:00:00"))
|
| 48 |
+
print(catalog)
|
| 49 |
+
print(catalog.to_df())
|
| 50 |
+
|
| 51 |
+
# get Obspy Event
|
| 52 |
+
event = catalog[0]
|
| 53 |
+
picks = event.picks_to_df()
|
| 54 |
+
arrivals = event.arrivals_to_df()
|
| 55 |
+
print(event,picks,arrivals)
|
| 56 |
+
```
|
| 57 |
+
|
| 58 |
+
### Picks db (Massive)
|
| 59 |
+
```python
|
| 60 |
+
# Save
|
| 61 |
+
bank.save_picks()
|
| 62 |
+
picks = bank.load_picks()
|
| 63 |
+
print(picks)
|
| 64 |
+
```
|
| 65 |
+
|
| 66 |
+
### Plot
|
| 67 |
+
```python
|
| 68 |
+
# get Obspy Event
|
| 69 |
+
bank.plot_overview("./overview.png")
|
| 70 |
+
bank.plot_uncertainty_boxplots("./uncertainty_boxplots.png")
|
| 71 |
+
bank.plot_station_location_uncertainty("./station_location_uncertainty.png")
|
| 72 |
+
bank.plot_stats("./stats.png")
|
| 73 |
+
bank.plot_histograms("./histograms.png")
|
| 74 |
+
bank.plot_pick_stats("./pick_stats.png")
|
| 75 |
+
```
|
| 76 |
+
|
| 77 |
+
|
| 78 |
+
|
| 79 |
|
| 80 |
---
|
| 81 |
license: gpl-3.0
|