Skip to content

Webservice for OpenQuake based ground motion field calculator as proposed by G.Weatherill

License

Notifications You must be signed in to change notification settings

GFZ-Centre-for-Early-Warning/shakyground

Repository files navigation

#openquake code is added here for convenience should be replaced in production
#by an actual openquake installation on server

#GET vs30 data unzip and store in root directory:
wget https://earthquake.usgs.gov/static/lfs/data/global_vs30_grd.zip

#add to PYTHONPATH (had trouble using env.sh from openquake --> gmt was using system gdal but openquake sqlite3 and complained)
export PYTHONPATH=$PYTHONPATH:/home/mhaas/openquake/lib/python3.5/site-packages/

#requires python libs:
mock
psutil

#currently requires gmt --> will be removed

#service can be run with the Test/test.xml (quakeml) event like:
python3 service.py Test/test.xml

About

Webservice for OpenQuake based ground motion field calculator as proposed by G.Weatherill

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •