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