This code is to generate the seismic supergather according to the assumed RMS velocity model. It also conclude the code for semblance spectrum computation.
- create conda env and install python packages
conda create -n SynData python=3.8
conda list -e > requirements.txt
-
A RMS velocity model is provided to generate synthetic dataset (saved in /model_info/RMS_info.npy)
-
There is a example generating a few synthetic datasets with SNR=[10, 4, 2, 1, 2/3, 1/2, 2/5, 1/3], respectively.
-
Run the following codes in shell of Ubuntu system:
nohup python GenerateData.py --DataRoot /mnt/data/spectrum/hade --OutRoot /mnt/data/spectrum/hade-S1 --SNR 10 > Run.log 2>&1 &
nohup python GenerateData.py --DataRoot /mnt/data/spectrum/hade --OutRoot /mnt/data/spectrum/hade-S2 --SNR 4 > Run.log 2>&1 &
nohup python GenerateData.py --DataRoot /mnt/data/spectrum/hade --OutRoot /mnt/data/spectrum/hade-S3 --SNR 2 > Run.log 2>&1 &
nohup python GenerateData.py --DataRoot /mnt/data/spectrum/hade --OutRoot /mnt/data/spectrum/hade-S4 --SNR 1 > Run.log 2>&1 &
nohup python GenerateData.py --DataRoot /mnt/data/spectrum/hade --OutRoot /mnt/data/spectrum/hade-S5 --SNR 0.67 > Run.log 2>&1 &
nohup python GenerateData.py --DataRoot /mnt/data/spectrum/hade --OutRoot /mnt/data/spectrum/hade-S6 --SNR 0.5 > Run.log 2>&1 &
nohup python GenerateData.py --DataRoot /mnt/data/spectrum/hade --OutRoot /mnt/data/spectrum/hade-S7 --SNR 0.4 > Run.log 2>&1 &
nohup python GenerateData.py --DataRoot /mnt/data/spectrum/hade --OutRoot /mnt/data/spectrum/hade-S8 --SNR 0.33 > Run.log 2>&1 &