shakemap.coremods.pointcsv¶
- class shakemap.coremods.pointcsv.PointCSVModule(eventid)[source]¶
Bases:
CoreModule
info – Extract point data from shake_result.hdf and write as CSV file.
Instantiate a CoreModule class with an event ID.
- command_name = 'pointcsv'¶
- targets = ['products/points\\.csv']¶
- dependencies = [('products/shake_result.hdf', True)]¶
- execute()[source]¶
Write points.csv data file from a “points” run of ShakeMap.
- Raises:
NotADirectoryError – When the event data directory does not exist.
FileNotFoundError – When the the shake_result HDF file does not exist.