Skip to content

Add test for metadata in reconstruction chain

Frank Berghaus requested to merge berghaus/athena:MetaDataMT into master

This MR adds an executable which may be run by experts to verify the in-file metadata of output between serial and multi-threaded transforms.

The executable picks three input from EOS, or accepts user specified input files. Then executes the q431 transform pulled into three stages (bytestream to RAW, bytestream to ESD and ESD to AOD). The produced files are read with the MetaReader and the full in-file metadata is compared. If differences are found they are displayed.

The base level check is whether the transforms ran (serial or threaded): 0 means success, otherwise the return code of the transform is given.

The next check is whether there are differences in the meta-data. 0 means no difference, 1 means there are differences.

Note that at the moment this will always reports the GUID as different. Should add an option to the comparison to drop keys.

@gemmeren @tsulaia @mnowak @tadej

Edited by Frank Berghaus

Merge request reports