Skip to content

NicoSchlw/visualize_SeisSol_output

Repository files navigation

Visualize SeisSol output

This repository contains scripts for visualizing SeisSol output data for DT-GEO workflows.

Compute ground motion parameters

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

Generate shake maps

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published