ZDDWLIG commited on
Commit
a11ec61
·
verified ·
1 Parent(s): c3522e4

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +128 -0
README.md ADDED
@@ -0,0 +1,128 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - seismic
4
+ - ground-roll
5
+ - denoising
6
+ - seg-c3
7
+ - geophysics
8
+ - synthetic
9
+ task_categories:
10
+ - image-to-image
11
+ - other
12
+ size_categories:
13
+ - 10M-100M
14
+ pretty_name: SEG C3 Ground-Roll Dataset
15
+ ---
16
+
17
+ # SEG C3 Ground-Roll Dataset
18
+
19
+ Paired noisy-input / noise-label SEG-Y volumes for supervised ground-roll attenuation, derived from the SEG C3 synthetic velocity model.
20
+
21
+ ## Task
22
+
23
+ **Noise-label regression**: given a noisy pre-stack shot gather, predict the additive ground-roll noise component. The clean signal is recovered as:
24
+
25
+ ```
26
+ denoised = noisy_input - predicted_noise
27
+ ```
28
+
29
+ The noise labels serve as regression targets. Both input and label are 3D SEG-Y volumes with identical geometry.
30
+
31
+ ## Dataset Description
32
+
33
+ - **Source**: SEG C3 synthetic velocity model ([wiki.seg.org/wiki/C3](https://wiki.seg.org/wiki/C3))
34
+ - **Geometry**: 9 regular shot gathers, 201 traces × 625 time samples per shot, dt = 2 ms
35
+ - **Noise modeling**: Reflection signals modeled with the acoustic wave equation; ground roll modeled with the elastic wave equation to capture its dispersive, low-velocity character
36
+ - **Noise intensity levels**: 1.0, 3.0, 5.0, 7.0, 9.0
37
+ - **Format**: Pre-stack SEG-Y (revision 1), IBM float
38
+
39
+ ## File Structure
40
+
41
+ Each noise level has a matched pair of SEG-Y files:
42
+
43
+ | Level | Noisy Input | Noise Label | Size (approx) |
44
+ |-------|------------|-------------|---------------|
45
+ | 1.0 | SEGC3_shots1_9_noisy_1.0.sgy | SEGC3_shots1_9_noise_1.0.sgy | ~951 MB × 2 |
46
+ | 3.0 | SEGC3_shots1_9_noisy_3.0.sgy | SEGC3_shots1_9_noise_3.0.sgy | ~951 MB × 2 |
47
+ | 5.0 | SEGC3_shots1_9_noisy_5.0.sgy | SEGC3_shots1_9_noise_5.0.sgy | ~951 MB × 2 |
48
+ | 7.0 | SEGC3_shots1_9_noisy_7.0.sgy | SEGC3_shots1_9_noise_7.0.sgy | ~951 MB × 2 |
49
+ | 9.0 | SEGC3_shots1_9_noisy_9.0.sgy | SEGC3_shots1_9_noise_9.0.sgy | ~951 MB × 2 |
50
+
51
+ **Total**: 5 noisy + 5 noise SEG-Y files
52
+
53
+ ## Loading Data
54
+
55
+ ```python
56
+ import segyio
57
+ import numpy as np
58
+
59
+ def read_shot_gather(path, traces_per_shot=201):
60
+ '''Read a regular SEG-Y file into (n_shots, n_traces, n_time).'''
61
+ with segyio.open(path, "r", strict=False) as src:
62
+ n_traces_total = src.tracecount
63
+ n_shots = n_traces_total // traces_per_shot
64
+ n_time = src.samples.size
65
+ data = np.zeros((n_shots, traces_per_shot, n_time), dtype=np.float32)
66
+ for i in range(n_shots):
67
+ for j in range(traces_per_shot):
68
+ data[i, j, :] = src.trace[i * traces_per_shot + j]
69
+ return data
70
+
71
+ # Load a level-3.0 pair
72
+ noisy = read_shot_gather("noisy/SEGC3_shots1_9_noisy_3.0.sgy")
73
+ noise = read_shot_gather("noise/SEGC3_shots1_9_noise_3.0.sgy")
74
+ signal = noisy - noise # clean reference
75
+ ```
76
+
77
+ With `huggingface_hub`:
78
+
79
+ ```python
80
+ from huggingface_hub import hf_hub_download
81
+
82
+ path = hf_hub_download(
83
+ repo_id="GeoBrain/seg-c3-ground-roll",
84
+ filename="noisy/SEGC3_shots1_9_noisy_3.0.sgy",
85
+ repo_type="dataset",
86
+ )
87
+ ```
88
+
89
+ ## Train / Val / Test Split
90
+
91
+ Shot-level sequential split by FFID (field file ID), avoiding trace leakage:
92
+
93
+ | Split | Shots | Fraction |
94
+ |-------|-------|----------|
95
+ | Train | 7 | 77.8% |
96
+ | Val | 1 | 11.1% |
97
+ | Test | 1 | 11.1% |
98
+
99
+ The split is done at loading time (not pre-saved as separate files) so users can adjust the ratios.
100
+
101
+ ## Preprocessing Recipe
102
+
103
+ The companion benchmark applies:
104
+
105
+ 1. **Normalization**: `max_abs`, global scope — the entire noisy volume scaled to [-1, 1]; same stats applied to the noise label
106
+ 2. **Patching**: Overlapping 2D patches (128 traces × 256 time samples), 50% overlap, yielding (1, H, W) tensors
107
+
108
+ No spherical-divergence correction is applied (raw amplitudes are used).
109
+
110
+ ## Benchmark Results
111
+
112
+ See the companion model repository for full benchmark results across UNet, ResUNet, DnCNN, and Attention UNet architectures at each noise level.
113
+
114
+ ## Citation
115
+
116
+ If you use this dataset, please cite the SEG C3 model and the companion benchmark:
117
+
118
+ ```bibtex
119
+ @misc{seg_c3_ground_roll,
120
+ title={SEG C3 Ground-Roll Attenuation Benchmark},
121
+ howpublished={https://huggingface.co/datasets/GeoBrain/seg-c3-ground-roll},
122
+ }
123
+ ```
124
+
125
+ ## References
126
+
127
+ - SEG C3 Velocity Model: https://wiki.seg.org/wiki/C3
128
+ - `segyio` library: https://github.com/equinor/segyio