This repository contains scripts for visualizing SeisSol output data for DT-GEO workflows.
Ground motion parameters can be calculated by running the script run_ground_motion_parameter_script.sh
:
filename="data-surface.xdmf"
threads=4
wget https://raw.githubusercontent.com/SeisSol/SeisSol/refs/heads/master/postprocessing/science/GroundMotionParametersMaps/ComputeGroundMotionParametersFromSurfaceOutput_Hybrid.py
python3 ComputeGroundMotionParametersFromSurfaceOutput_Hybrid.py --MP $threads --periods 0.5 --noMPI $filename
Make sure to adjust the filename
and the number of threads
as needed. For additional options, run:
python3 ComputeGroundMotionParametersFromSurfaceOutput_Hybrid.py -h
For installation instructions of prerequisites and further details, please refer to the SeisSol repository
Ground motion parameter distribution plots can be generated by running the script run_plot_shakemaps.sh
:
filename="data-surface-GME.xdmf"
python3 plot_shakemaps.py $filename