seismometer.data.loader.event.parquet_loader

seismometer.data.loader.event.parquet_loader(config)

Loads the events frame from a parquet file based on config.event_path.

Maps the non-key columns to the standard names “Type”, “Time”, “Value”. Will log debug message and return an empty dataframe if read_parquet fails.

Parameters:

config (ConfigProvider) – The loaded configuration object.

Returns:

the events dataframe with standarized column names.

Return type:

pd.DataFrame