schattin commited on
Commit
0ed7921
·
verified ·
1 Parent(s): e5dc3b8

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +139 -79
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
  license: cc-by-sa-4.0
3
- pretty_name: sd96-roccastrada-10m
4
  task_categories:
5
  - other
6
  language:
@@ -14,102 +14,162 @@ tags:
14
  - inverse-problem
15
  size_categories:
16
  - 10K<n<100K
 
 
 
 
 
 
 
 
 
17
  ---
18
 
19
- ## Dataset Overview
20
-
21
- The dataset contains seismic models and their corresponding dispersion curves generated using the SurfDisp96 simulation. Each sample in the dataset includes:
22
-
23
- 1. A seismic velocity model with parameters like shear wave velocities, depths, and layer thicknesses
24
- 2. Three dispersion curves for different period ranges (low, middle, and high)
25
-
26
- ## Prior
27
-
28
- This dataset was generated with the Roccastrada prior:
29
-
30
- | Parameter | Value | Description |
31
- |-----------|----------|-------------------------------------------|
32
- | Vs | 0.5, 4.0 | Range of shear velocities (km/s) |
33
- | z | 0.0, 5.0 | Min and max depth (km) of Voronoi kernels |
34
- | layers | 2, 20 | Min/max of the number of layers |
35
- | vpvs | 1.3 | Ratio VP/VS |
36
- | mohoest | null | Add a mohoest layer ? |
37
- | mantle | null | |
38
- | thickmin | 0.1 | Layer minimum thickness |
39
- | lvz | null | Low velocity zone |
40
- | hvz | null | High velocity zone |
41
-
42
- ## Column Descriptions
43
-
44
- | Column Name | Data Type | Description | Possible Values |
45
- |-------------|-----------|-------------|----------------|
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
46
  | **Model Parameters** |
47
- | `vs` | List[float32] | Shear wave velocities for each layer in km/s | Typically 0.5-5.0 km/s, depends on prior |
48
- | `z` | List[float32] | Depths of layer middle points (middle points between layer boundaries) in km | Depends on the prior configuration, typically 0-15 km |
49
- | `h` | List[float32] | Layer thicknesses in km | Depends on the prior configuration |
50
- | `z_disc` | List[float32] | Depths of discontinuities (changes in Vs) in km | Depends on the prior configuration |
51
- | `vp` | List[float32] | P-wave velocities for each layer in km/s | Typically 1.5-8.5 km/s (depends on prior) |
52
- | `vpvs` | float | VP/VS ratio (ratio of P-wave to S-wave velocity) | Typically 1.7-1.9 (depends on prior) |
53
- | `nlayers` | int | Number of layers in the model | Depends on the prior configuration |
54
- | `velmap_vs` | List[float32] | Shear wave velocity profile transformed from the Voronoi model to a layered model | Typically 0.5-5.0 km/s |
55
- | `velmap_z` | List[float32] | Corresponding depths for the layered model | Typically 0-15 km with 60 evenly spaced points |
56
  | **Low Range Dispersion Curve** |
57
- | `L_disp_x` | List[float32] | Periods (T) in seconds for the low range dispersion curve | Defined by `low_range` parameter, typically 0.1-1.0 s |
58
- | `L_disp_y` | List[float32] | Corresponding velocities in km/s for the low range dispersion curve | Typically 0.5-3.0 km/s |
59
- | `L_wave_type` | string | Type of seismic wave for the low range dispersion curve | "Rayleigh" or "Love" |
60
- | `L_velocity_type` | string | Type of velocity measurement for the low range dispersion curve | "group" or "phase" |
61
  | **Middle Range Dispersion Curve** |
62
- | `M_disp_x` | List[float32] | Periods (T) in seconds for the middle range dispersion curve | Defined by `middle_range` parameter, typically 1.0-10.0 s |
63
- | `M_disp_y` | List[float32] | Corresponding velocities in km/s for the middle range dispersion curve | Typically 1.0-3.5 km/s |
64
- | `M_wave_type` | string | Type of seismic wave for the middle range dispersion curve | "Rayleigh" or "Love" |
65
- | `M_velocity_type` | string | Type of velocity measurement for the middle range dispersion curve | "group" or "phase" |
66
  | **High Range Dispersion Curve** |
67
- | `H_disp_x` | List[float32] | Periods (T) in seconds for the high range dispersion curve | Defined by `high_range` parameter, typically 10.0-40.0 s |
68
- | `H_disp_y` | List[float32] | Corresponding velocities in km/s for the high range dispersion curve | Typically 2.0-4.0 km/s |
69
- | `H_wave_type` | string | Type of seismic wave for the high range dispersion curve | "Rayleigh" or "Love" |
70
- | `H_velocity_type` | string | Type of velocity measurement for the high range dispersion curve | "group" or "phase" |
71
 
72
- ## Notes
73
 
74
- 1. All numerical arrays are stored as lists of float32 values to optimize storage space.
75
- 2. The dispersion curves represent the relationship between period (T) and velocity (v) for seismic waves.
76
- 3. The low, middle, and high ranges refer to different period ranges for the dispersion curves, allowing for multi-scale analysis of the seismic model.
77
- 4. The wave type is typically "Rayleigh" for surface waves.
78
- 5. The velocity type is typically "group" for group velocity dispersion curves.
79
- 6. The exact ranges for periods depend on the `low_range`, `middle_range`, and `high_range` parameters provided to the `generate_dataset_surfdisp96` function.
80
- 7. The number of points in each dispersion curve is determined by the `length` parameter.
81
- 8. If `variable_grid` is set to True, the periods may not be evenly spaced, with the minimum difference between consecutive periods defined by the third element of the range tuples.
82
 
83
- ## Usage Example
84
 
85
- This dataset can be used for various seismic inversion tasks, such as:
 
 
86
 
87
- 1. Inferring subsurface velocity structures from observed dispersion curves
88
- 2. Training machine learning models to predict dispersion curves from velocity models (forward problem)
89
- 3. Training machine learning models to predict velocity models from dispersion curves (inverse problem)
90
- 4. Studying the sensitivity of dispersion curves to changes in velocity model parameters
91
 
92
- ## Sample Visualization
93
- The dataset includes a visualization of a sample model and its dispersion curves. You can find this visualization in the `sample_plot.png` file in the dataset directory.
 
 
 
 
 
 
 
94
 
95
  ![Sample Plot](sample_plot.png)
96
 
97
- ## Generation Steps
98
- The dataset was generated using the following commands:
99
 
100
  ```bash
101
- python3 migrate/cli/main.py generate-dataset-surfdisp96 --name Surfdisp96-Roccastrada-10m --pretty-name sd96-roccastrada-10m --description "This dataset contains synthetic seismic models and their corresponding Rayleigh-wave dispersion curves generated using forward modeling with the Roccastrada priors. It is designed for benchmarking inversion algorithms and training machine learning models in geophysics." license-name "other" --created-by "" --prior-file /datadisk/Projets/RECHERCHES/Recherches/MIGRATE/reps/migrate/conf/priors/roccastrada_prior.yaml --output-dir "/datadisk/Projets/RECHERCHES/Recherches/MIGRATE/reps/migrate/data/seismic/Dispsurf96-Roccastrada-10k" --n-samples 10000 --samples-per-shard 1000 --length 108 --test-ratio 0.2 --fold (2, 5, 10) --seed 43 --low-range 1.0,5.0 --middle-range 1.0,15.0 --high-range 1.0,30.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
102
  ```
103
 
104
- ## Download Instructions
105
- You can download the dataset via the 🤗 Hub CLI:
106
 
107
- ```bash
108
- huggingface-cli download dataset <repo-id> --local-dir ./seismic-dataset
109
- ```
110
 
111
- Or use `datasets` in Python:
112
- ```python
113
- from datasets import load_dataset
114
- ds = load_dataset('<repo-id>', split='train')
115
- ```
 
 
 
 
 
 
 
1
  ---
2
  license: cc-by-sa-4.0
3
+ pretty_name: sd96-roccastrada-10k
4
  task_categories:
5
  - other
6
  language:
 
14
  - inverse-problem
15
  size_categories:
16
  - 10K<n<100K
17
+ format: parquet
18
+ creation_date: "2025-09-16 15:39:27"
19
+ created_by: "Nils Schaetti"
20
+ organization: "DMML – Data Mining and Machine Learning Group, Haute École de Gestion de Genève (HES-SO)"
21
+ contact: "nils.schaetti@hesge.ch"
22
+ citation: |
23
+ Schaetti, N. (2025). *MIGRATE Synthetic Seismic Dataset – Surfdisp96-Roccastrada-10m*.
24
+ DMML – Data Mining and Machine Learning Group, Haute École de Gestion de Genève (HES-SO).
25
+ Licensed under CC BY-SA 4.0.
26
  ---
27
 
28
+ # 🧠 Dataset Overview
29
+
30
+ The **Surfdisp96-Roccastrada-10m** dataset contains **synthetic seismic velocity models** and their corresponding **Rayleigh-wave dispersion curves**, generated using the **SurfDisp96** simulator with **Roccastrada priors**.
31
+ It is designed for benchmarking **seismic inversion algorithms** and for training **machine-learning models** in geophysics.
32
+
33
+ Each sample includes:
34
+
35
+ 1. A **seismic velocity model** with shear-wave velocities, depths and layer thicknesses
36
+ 2. Three **dispersion curves** covering low, middle and high period ranges
37
+
38
+ # 🔢 Priors Configuration (Roccastrada)
39
+
40
+ | Parameter | Value | Description |
41
+ |-----------|--------|-------------|
42
+ | `vs` | [0.5, 4.0] | Range of shear-wave velocities (km/s) |
43
+ | `z` | [0.0, 5.0] | Depth range (km) |
44
+ | `layers` | [2, 20] | Minimum and maximum number of layers |
45
+ | `vpvs` | 1.3 | P/S velocity ratio |
46
+ | `mohoest` | null | Estimated Moho depth (unused) |
47
+ | `mantle` | null | Mantle properties (unused) |
48
+ | `thickmin` | 0.1 | Minimum layer thickness (km) |
49
+ | `lvz` | null | Low-velocity zone (not used) |
50
+ | `hvz` | null | High-velocity zone (not used) |
51
+
52
+ # ⚙️ Generation Parameters
53
+
54
+ | Parameter | Value | Description |
55
+ |------------|--------|-------------|
56
+ | `seed` | 43 | Random seed for reproducibility |
57
+ | `random_generator` | numpy.default_rng | Random number generator backend |
58
+ | `n_samples` | 10 000 | Total synthetic models |
59
+ | `samples_per_shard` | 1 000 | Number of samples per Parquet shard |
60
+ | `n_shards` | 10 | Total number of shards |
61
+ | `source` | sample_model + forward | Data generation process |
62
+ | `dispersion_curve_length` | 108 | Number of points per dispersion curve |
63
+ | `folds` | 2-fold, 5-fold, 10-fold | Available cross-validation splits |
64
+ | `fold_file` | folds.json | JSON file defining the folds |
65
+
66
+ # 🧩 Feature Schema
67
+
68
+ | Feature | Type | Description |
69
+ |----------|------|-------------|
70
+ | `vs` | list<float32> | Shear-wave velocities (km/s), one per layer |
71
+ | `z` | list<float32> | Depths of layer boundaries (km) |
72
+ | `vpvs` | float32 | Vp/Vs ratio |
73
+ | `disp_x` | list<float32> | Period values (s), length = 108 |
74
+ | `disp_y` | list<float32> | Corresponding velocities (km/s), length = 108 |
75
+ | `wave_type` | string | Type of surface wave (Rayleigh / Love) |
76
+ | `velocity_type` | string | Velocity measurement type (group / phase) |
77
+
78
+ # 📊 Column Descriptions
79
+
80
+ | Column Name | Data Type | Description | Typical Values |
81
+ |--------------|-----------|--------------|----------------|
82
  | **Model Parameters** |
83
+ | `vs` | list<float32> | Shear-wave velocities (km/s) | 0.55.0 |
84
+ | `z` | list<float32> | Layer-center depths (km) | 015 |
85
+ | `h` | list<float32> | Layer thicknesses (km) | depends on prior |
86
+ | `z_disc` | list<float32> | Discontinuity depths (km) | depends on prior |
87
+ | `vp` | list<float32> | P-wave velocities (km/s) | 1.58.5 |
88
+ | `vpvs` | float32 | Vp/Vs ratio | 1.3 |
89
+ | `nlayers` | int | Number of layers | 2–20 |
90
+ | `velmap_vs` | list<float32> | Interpolated Vs profile (60 points) | 0.55.0 |
91
+ | `velmap_z` | list<float32> | Depth grid for `velmap_vs` | 015 km |
92
  | **Low Range Dispersion Curve** |
93
+ | `L_disp_x` | list<float32> | Periods (s) | 0.11.0 |
94
+ | `L_disp_y` | list<float32> | Velocities (km/s) | 0.53.0 |
95
+ | `L_wave_type` | string | Wave type | Rayleigh / Love |
96
+ | `L_velocity_type` | string | Velocity type | group / phase |
97
  | **Middle Range Dispersion Curve** |
98
+ | `M_disp_x` | list<float32> | Periods (s) | 1.010.0 |
99
+ | `M_disp_y` | list<float32> | Velocities (km/s) | 1.03.5 |
100
+ | `M_wave_type` | string | Wave type | Rayleigh / Love |
101
+ | `M_velocity_type` | string | Velocity type | group / phase |
102
  | **High Range Dispersion Curve** |
103
+ | `H_disp_x` | list<float32> | Periods (s) | 10.040.0 |
104
+ | `H_disp_y` | list<float32> | Velocities (km/s) | 2.04.0 |
105
+ | `H_wave_type` | string | Wave type | Rayleigh / Love |
106
+ | `H_velocity_type` | string | Velocity type | group / phase |
107
 
108
+ # 🧭 Notes
109
 
110
+ 1. All arrays are stored as `float32` to reduce storage size.
111
+ 2. Dispersion curves represent the relationship between **period (T)** and **velocity (v)** for seismic surface waves.
112
+ 3. Low, middle and high ranges enable **multi-scale analysis** of the subsurface structure.
113
+ 4. Default wave type = Rayleigh”, velocity type = “group”.
114
+ 5. Period ranges and grid spacing depend on generation parameters (`low_range`, `middle_range`, `high_range`, `variable_grid`).
115
+ 6. Folds allow robust cross-validation (2, 5, 10 folds).
 
 
116
 
117
+ # 🧮 Usage Example
118
 
119
+ ### With 🤗 Datasets
120
+ ```python
121
+ from datasets import load_dataset
122
 
123
+ ds = load_dataset("nils-schaetti/sd96-roccastrada-10m", split="train")
124
+ print(ds[0]["vs"]) # Access shear-wave velocity model
125
+ ````
 
126
 
127
+ ### Via CLI
128
+
129
+ ```bash
130
+ huggingface-cli download dataset nils-schaetti/sd96-roccastrada-10m --local-dir ./sd96-roccastrada-10m
131
+ ```
132
+
133
+ # 🖼️ Sample Visualization
134
+
135
+ A sample model and its three dispersion curves are illustrated in **sample_plot.png** within the dataset directory.
136
 
137
  ![Sample Plot](sample_plot.png)
138
 
139
+ # ⚙️ Generation Command
 
140
 
141
  ```bash
142
+ python3 migrate/cli/main.py generate-dataset-surfdisp96 \
143
+ --name Surfdisp96-Roccastrada-10m \
144
+ --pretty-name sd96-roccastrada-10m \
145
+ --description "This dataset contains synthetic seismic models and their corresponding Rayleigh-wave dispersion curves generated using forward modeling with the Roccastrada priors. It is designed for benchmarking inversion algorithms and training machine learning models in geophysics." \
146
+ --license-name "CC BY-SA 4.0" \
147
+ --created-by "Nils Schaetti" \
148
+ --prior-file conf/priors/roccastrada_prior.yaml \
149
+ --output-dir data/seismic/Dispsurf96-Roccastrada-10k \
150
+ --n-samples 10000 \
151
+ --samples-per-shard 1000 \
152
+ --length 108 \
153
+ --test-ratio 0.2 \
154
+ --folds 2 5 10 \
155
+ --seed 43 \
156
+ --low-range 1.0 5.0 \
157
+ --middle-range 1.0 15.0 \
158
+ --high-range 1.0 30.0
159
  ```
160
 
161
+ # 🧾 License
 
162
 
163
+ This dataset is released under the **Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)** license.
 
 
164
 
165
+ © 2025 Nils Schaetti
166
+ DMML – Data Mining and Machine Learning Group
167
+ Haute École de Gestion de Genève (HES-SO)
168
+ 📧 [nils.schaetti@hesge.ch](mailto:nils.schaetti@hesge.ch)
169
+
170
+ You are free to use, share, and adapt this dataset for any purpose, including commercial use, provided that you:
171
+
172
+ * **Attribute** the creator (Nils Schaetti, DMML Group, HEG Genève)
173
+ * **Share-alike** any derivative work under the same license (CC BY-SA 4.0)
174
+
175
+ [![License: CC BY-SA 4.0](https://licensebuttons.net/l/by-sa/4.0/88x31.png)](https://creativecommons.org/licenses/by-sa/4.0/)