mss_dataserver.postprocess.util.get_supplement_data

mss_dataserver.postprocess.util.get_supplement_data(public_id, category, name, directory)[source]

Load the data from a supplement file.

Parameters
  • public_id (str) – The public id of the event.

  • category (str) – The supplement data category.

  • name (str) – The supplement data name.

  • directory (str) – The supplement data base directory.

Returns

The requested supplement data.

Return type

geopandas.GeoDataFrame or obspy.Stream of dict