shakemap.coremods.gridxml¶
- class shakemap.coremods.gridxml.GridXMLModule(eventid)[source]¶
Bases:
CoreModule
gridxml – Create grid.xml and uncertainty.xml files from shake_result.hdf.
Instantiate a CoreModule class with an event ID.
- command_name = 'gridxml'¶
- targets = ['products/grid\\.xml', 'products/uncertainty\\.xml']¶
- dependencies = [('products/shake_result.hdf', True)]¶
- execute()[source]¶
Create grid.xml and uncertainty.xml files.
- Raises:
NotADirectoryError – When the event data directory does not exist.
FileNotFoundError – When the the shake_result HDF file does not exist.