shakemap.coremods.coverage¶
- class shakemap.coremods.coverage.CoverageModule(eventid)[source]¶
Bases:
CoreModule
coverage – Create JSON coverage(s) of the ground motion layers.
Instantiate a CoreModule class with an event ID.
- command_name = 'coverage'¶
- targets = ['products/coverage_h\\.json', 'products/coverage_m\\.json', 'products/coverage_l\\.json']¶
- dependencies = [('products/shake_result.hdf', True)]¶
- execute()[source]¶
Create high, medium, and low resolution coverage of the mapped parameters.
- Raises:
NotADirectoryError – When the event data directory does not exist.
FileNotFoundError – When the the shake_result HDF file does not exist.