seismometer.configuration.config_helpers.generate_dictionary_from_parquet¶
- seismometer.configuration.config_helpers.generate_dictionary_from_parquet(inpath, outpath, section='predictions', *, column='Type')¶
Generate a data dictionary YAML file from a parquet file.
- Parameters:
inpath (Path | str) – The path to the input Parquet file.
outpath (Path | str) – The path to the output YAML file.
section (str, optional) – The section name to be used in the YAML file, by default “predictions”.
column (str, optional) – The column name of data relevant to defining the dictionary; currently used for events section, by default “Type”.
- Return type:
None