shakemap.coremods.history

class shakemap.coremods.history.HistoryModule(eventid)[source]

Bases: shakemap.coremods.base.CoreModule

history – Output the version history of an event.

Instantiate a CoreModule class with an event ID.

command_name = 'history'
execute()[source]

Output the version history of an event.

Raises:

NotADirectoryError – When the event data directory does not exist.

shakemap.coremods.history.print_history(history, final=False)[source]