Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Executable for chunk large raw-data files #5083

Merged
merged 1 commit into from Dec 23, 2020

Conversation

shahor02
Copy link
Collaborator

Allows to split single or group of large (with many TFs) raw data files to chunks each containing at most N TFs.
One can also change the grouping of the output files:
e.g.: o2-raw-file-split --detect-tf0 --input-conf raw.cfg -n 10 -o split/ch --file-for cru
will regroup the data in 10 chunks per output file in split/ch_0 ... split/ch_N directories
and creating a single output file per CRU. The configuration file split/ch_X/raw.cfg will
be created for every chunk

@shahor02 shahor02 requested a review from a team as a code owner December 18, 2020 14:39
@shahor02
Copy link
Collaborator Author

@iouribelikov could you check if this is ok for what you wanted to do?

@iouribelikov
Copy link
Collaborator

@shahor02 Thank you very much, Ruben. Yes, it should be exactly what we would like to have so much. I will try it asap...

iouribelikov
iouribelikov previously approved these changes Dec 22, 2020
Copy link
Collaborator

@iouribelikov iouribelikov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shahor02 Thank you very much. This seems to work quite nicely !

But I get lots of messages like
[INFO] Link 0x1630165289x was already declared with same output, do nothing
[INFO] Link 0x1663785514x was already declared with same output, do nothing
...
coming from

LOGF(INFO, "Link 0x%ux was already declared with same output, do nothing", sspec);

Is this normal ?
(Also, the log file becomes very large...)

allows to split single or group of large (with many TFs) raw data files to chunks each containing at most N TFs.
One can also change the grouping of the output files:
e.g.: o2-raw-file-split --detect-tf0 --input-conf raw.cfg -n 10 -o split/ch --file-for cru
will regroup the data in 10 chunks per output file in split/ch_0 ... split/ch_N directories
and creating a single output file per CRU. The configuration file split/ch_X/<DET>raw.cfg will
be created for every chunk
@shahor02
Copy link
Collaborator Author

@iouribelikov thanks for spotting, fixed.

@shahor02 shahor02 merged commit 9cb10c0 into AliceO2Group:dev Dec 23, 2020
@shahor02 shahor02 deleted the pr_rawSplit branch December 23, 2020 00:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants