Skip to content

About

Shakemap generator is a dashboard to let officer generate shakemap without hardcodedly create event.xml. Officers only need to choose which event they want to generate. system automatically generate event.xml and download strongmotion waveform from seiscomp using scwfparam modul. Overall, Shakemap Generator provides UI for Shakemap.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

Shakemap Generator (SHAKEMAP 3.5)

A Django-based dashboard for generating ShakeMaps without manually crafting event.xml. Duty officers only need to pick the event they want to process — the system automatically builds the event.xml, downloads strong-motion waveforms from SeisComP through the scwfparam module, and runs the ShakeMap generation pipeline. In short, Shakemap Generator provides a user-friendly UI on top of the ShakeMap workflow.

Features

  • Event dashboard — browse SeisComP events, filter, and trigger ShakeMap generation with one click.
  • Automatic event XML — generates event.xml from the selected event, so no manual file editing is required.
  • Waveform retrieval — pulls strong-motion waveforms from SeisComP using the scwfparam module.
  • Pipeline metrics & trigger log — monitor completed, pending, and failed ShakeMap jobs, plus per-catalog statistics.
  • PSA detail view — inspect response-spectra (PSA) results per event.

Screenshots

Main dashboard

Main dashboard

Metrics

Metrics

PSA details

PSA details

Shakemap products modal

Shakemap products modal

How it works

  1. The dashboard syncs events from the SeisComP source.
  2. An officer selects an event and presses Generate (full) or Model (GMPE-only for smaller events).
  3. The pipeline writes event.xml, fetches waveforms via scwfparam, and runs ShakeMap generation.
  4. Results (intensity maps, PSA spectra, waveform plots) appear in the UI and can be pushed to the new-datin server.

Project structure

shakemap_generator/
├── event_dashboard/          # Main Django app (views, models, pipeline, tasks)
├── shakemap_manager/         # Project settings, Celery, URLs, WSGI/ASGI
├── manage.py
├── requirements.txt
└── docs/images/              # Screenshots used in this README

Requirements

  • Python 3.x
  • Django 3.2+
  • Redis (Celery broker/result backend)
  • SeisComP with scwfparam on the waveform source machine

Install dependencies:

pip install -r requirements.txt

Setup

python manage.py migrate
python manage.py runserver

For the Celery worker and beat:

celery -A shakemap_manager worker -l info
celery -A shakemap_manager beat -l info

Configuration is kept in shakemap_manager/settings.py. Set DJANGO_SECRET_KEY in the environment (see .env.example) for production use.

About

Shakemap generator is a dashboard to let officer generate shakemap without hardcodedly create event.xml. Officers only need to choose which event they want to generate. system automatically generate event.xml and download strongmotion waveform from seiscomp using scwfparam modul. Overall, Shakemap Generator provides UI for Shakemap.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages