shakemap.coremods.rupture¶
-
class
shakemap.coremods.rupture.
RuptureModule
(eventid)[source]¶ Bases:
shakemap.coremods.base.CoreModule
rupture – Generate rupture.json from shake_result.hdf.
Instantiate a CoreModule class with an event ID.
-
command_name
= 'rupture'¶
-
targets
= ['products/rupture\\.json']¶
-
dependencies
= [('products/shake_result.hdf', True)]¶
-
execute
()[source]¶ Write rupture.json file.
- Raises:
NotADirectoryError – When the event data directory does not exist.
FileNotFoundError – When the the shake_result HDF file does not exist.
-