shakemap.coremods.model

Process a ShakeMap, based on the configuration and data found in shake_data.hdf, and produce output in shake_result.hdf.

class shakemap.coremods.model.DataFrame[source]

Bases: object

class shakemap.coremods.model.ModelModule(eventid)[source]

Bases: shakemap.coremods.base.CoreModule

model – Interpolate ground motions to a grid or list of locations.

Instantiate a CoreModule class with an event ID.

command_name = 'model'
targets = ['products/shake_result\\.hdf']
dependencies = [('shake_data.hdf', True)]
no_seismic = False
no_macroseismic = False
no_rupture = False
use_simulations = False
rock_vs30 = 760.0
soil_vs30 = 180.0
parseArgs(arglist)[source]

Set up the object to accept the –no_seismic, –no_macroseismic, and –no_rupture flags.

execute()[source]

Interpolate ground motions to a grid or list of locations.

Raises: