Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -277,69 +277,106 @@ configs:
|
|
| 277 |
# <span style="background:#E87500; color:white; padding:2px 6px; border-radius:6px;">UTD</span>Quake
|
| 278 |
University of Texas at Dallas Earthquake Dataset
|
| 279 |
|
| 280 |
-
|
| 281 |
-
- Emmanuel Castillo (
|
| 282 |
-
- Nadine Ushakov
|
| 283 |
-
- Marine Denolle
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 284 |
|
| 285 |
## What’s inside?
|
| 286 |
|
| 287 |
-
|
| 288 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 289 |
|
| 290 |
## Quick start
|
| 291 |
|
| 292 |
-
### Access
|
| 293 |
```python
|
| 294 |
import utdquake as utdq
|
| 295 |
|
| 296 |
-
#
|
| 297 |
-
|
| 298 |
-
print(
|
| 299 |
|
| 300 |
-
#
|
| 301 |
-
|
| 302 |
-
print(
|
| 303 |
|
| 304 |
-
|
| 305 |
-
picks = bank.get_picks(event_ids=ev_ids)
|
| 306 |
-
print(picks)
|
| 307 |
```
|
| 308 |
|
| 309 |
-
###
|
| 310 |
```python
|
| 311 |
-
#
|
| 312 |
-
|
| 313 |
-
|
| 314 |
-
print(catalog)
|
| 315 |
-
print(catalog.to_df())
|
| 316 |
|
| 317 |
-
#
|
| 318 |
-
|
| 319 |
-
|
| 320 |
-
|
| 321 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 322 |
```
|
| 323 |
|
| 324 |
-
###
|
|
|
|
| 325 |
```python
|
| 326 |
-
#
|
| 327 |
-
bank
|
| 328 |
-
|
| 329 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 330 |
```
|
| 331 |
|
|
|
|
| 332 |
### Plot
|
| 333 |
```python
|
| 334 |
# get Obspy Event
|
| 335 |
-
|
| 336 |
-
|
| 337 |
-
|
| 338 |
-
|
| 339 |
-
|
| 340 |
-
|
|
|
|
| 341 |
```
|
| 342 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 343 |
|
| 344 |
|
| 345 |
|
|
|
|
| 277 |
# <span style="background:#E87500; color:white; padding:2px 6px; border-radius:6px;">UTD</span>Quake
|
| 278 |
University of Texas at Dallas Earthquake Dataset
|
| 279 |
|
| 280 |
+
## Authors
|
| 281 |
+
- Emmanuel Castillo (emmanuel.castillotaborda@utdallas.edu)
|
| 282 |
+
- Nadine Ushakov (nadine.igonin@utdallas.edu)
|
| 283 |
+
- Marine Denolle (mdenolle@uw.edu)
|
| 284 |
+
|
| 285 |
+
# Dataset
|
| 286 |
+
|
| 287 |
+
## Why this dataset matters?
|
| 288 |
+
|
| 289 |
+
Curated datasets of earthquake **events and phase picks** are essential for modern seismology, especially in the AI era. While waveform datasets have advanced earthquake detection, multistation picks provide complementary information crucial for **phase association** and **earthquake location**.
|
| 290 |
+
|
| 291 |
+
This dataset offers structured event catalogs, station metadata, and phase picks across networks, supporting reproducible research and the development of data-driven seismological methods.
|
| 292 |
|
| 293 |
## What’s inside?
|
| 294 |
|
| 295 |
+
| Directory | Format | Description |
|
| 296 |
+
|------------|---------------|-------------|
|
| 297 |
+
| `bank/` | `*.zip` | ObsPlus `EventBank` datasets, one per network. Can be read directly using [ObsPlus EventBank](https://niosh-mining.github.io/obsplus/versions/latest/api/obsplus.bank.eventbank.html). |
|
| 298 |
+
| `events/` | `*.parquet` | Earthquake event catalogs per network. |
|
| 299 |
+
| `stations/` | `*.parquet` | Station metadata per network. |
|
| 300 |
+
| `picks/` | `*.parquet` | Seismic phase pick datasets per network. |
|
| 301 |
+
|
| 302 |
+
For details on the contents and schema of each dataset, please refer to the [Hugging Face dataset viewer](https://huggingface.co/datasets/ecastillot/UTDQuake/viewer).
|
| 303 |
+
|
| 304 |
+
To get started, see the [Quick Start](#quick-start) section below, or click **“Use this dataset”** on the Hugging Face dataset page for example loading code.
|
| 305 |
+
|
| 306 |
|
| 307 |
## Quick start
|
| 308 |
|
| 309 |
+
### Basic Access
|
| 310 |
```python
|
| 311 |
import utdquake as utdq
|
| 312 |
|
| 313 |
+
# dataset overview
|
| 314 |
+
dataset = utdq.Dataset()
|
| 315 |
+
print(dataset)
|
| 316 |
|
| 317 |
+
# network level
|
| 318 |
+
network_data = dataset.networks
|
| 319 |
+
print(network_data)
|
| 320 |
|
| 321 |
+
dataset.plot_overview(savepath="utdquake.png")
|
|
|
|
|
|
|
| 322 |
```
|
| 323 |
|
| 324 |
+
### Network Data
|
| 325 |
```python
|
| 326 |
+
# load network
|
| 327 |
+
network = dataset.get_network(name="tx")
|
| 328 |
+
print(network)
|
|
|
|
|
|
|
| 329 |
|
| 330 |
+
# events
|
| 331 |
+
events = network.events
|
| 332 |
+
print(events)
|
| 333 |
+
|
| 334 |
+
# stations
|
| 335 |
+
stations = network.stations
|
| 336 |
+
print(stations)
|
| 337 |
+
|
| 338 |
+
# picks
|
| 339 |
+
picks = network.picks
|
| 340 |
+
print(picks)
|
| 341 |
```
|
| 342 |
|
| 343 |
+
### Event Bank
|
| 344 |
+
Check [ObsPlus EventBank](https://niosh-mining.github.io/obsplus/versions/latest/api/obsplus.bank.eventbank.html) for more details.
|
| 345 |
```python
|
| 346 |
+
# get event bank
|
| 347 |
+
ebank = network.bank #
|
| 348 |
+
|
| 349 |
+
# Example: Filter by event_id
|
| 350 |
+
ev_ids = events["event_id"].iloc[:5].tolist()
|
| 351 |
+
cat = ebank.get_events(event_id=ev_ids)
|
| 352 |
+
print(cat)
|
| 353 |
+
|
| 354 |
+
# Example 2: Other filter (check obsplus.EventBank for more details)
|
| 355 |
+
cat2 = ebank.get_events(minmagnitude=4.3)
|
| 356 |
+
print(cat2)
|
| 357 |
```
|
| 358 |
|
| 359 |
+
|
| 360 |
### Plot
|
| 361 |
```python
|
| 362 |
# get Obspy Event
|
| 363 |
+
network = dataset.get_network(name="tx")
|
| 364 |
+
network.plot_overview(savepath="overview.png")
|
| 365 |
+
network.plot_uncertainty_boxplots(savepath="uncertainty_boxplots.png")
|
| 366 |
+
network.plot_station_location_uncertainty(savepath="station_location_uncertainty.png")
|
| 367 |
+
network.plot_stats(savepath="stats.png")
|
| 368 |
+
network.plot_pick_histograms(savepath="histograms.png")
|
| 369 |
+
network.plot_pick_stats(savepath="pick_stats.png")
|
| 370 |
```
|
| 371 |
|
| 372 |
+
# Thanks
|
| 373 |
+
|
| 374 |
+
Thanks to the [UT Dallas HPC team](https://hpc.utdallas.edu/) for providing the computational resources for this dataset.
|
| 375 |
+
|
| 376 |
+
We also thank the seismology and AI communities for their work in earthquake research, and Hugging Face for hosting and sharing open datasets.
|
| 377 |
+
|
| 378 |
+
We welcome feedback and contributions!
|
| 379 |
+
|
| 380 |
|
| 381 |
|
| 382 |
|