Currently hazard calculation needs 4 input. IM data, Empirical data and the name of IM, and finally the station name.
calculate_hazard(imdb_path, station_name, im_name, empdb_path=None):
Internally it retrieves im_values for the specified IM at the station, extracts empirical data, works out the total cyberspace value by adding up Type A (CS), Type B(tmp) and DS values.
The computation is very fast.