write_dl2_dataframe

lstchain.io.io.write_dl2_dataframe(dataframe, outfile, config=None, meta=None)

Write DL2 dataframe to a HDF5 file

Parameters:
dataframepandas.DataFrame

The DL2 dataframe to be written to the HDF5 file.

outfilestr

The path to the output HDF5 file.

configdict, optional

A dictionary containing used configuration. Default is None.

metalstchain.io.lstcontainers.MetaData, optional

global metadata. Default is None.