Skip to content
Snippets Groups Projects
Commit b72f43a1 authored by Rosen Matev's avatar Rosen Matev :sunny:
Browse files

Merge branch 'modify-lhcb-writer-compression' into 'master'

Remove LHCb mdf writer compression by default

See merge request !3331
parents 4976ba0e 06ad7550
No related branches found
No related tags found
2 merge requests!3702merge counter decoder into Louis' original branch,!3331Remove LHCb mdf writer compression by default
Pipeline #3284967 passed
......@@ -62,11 +62,18 @@ ROOT_KEY = 'ROOT'
FILE_TYPES = {MDF_KEY, ROOT_KEY}
def mdf_writer(path, location, compression=2):
"""Return an MDF writer which writes a single TES `location` to `path`."""
def mdf_writer(path, location, compression=0):
"""Return an MDF writer which writes a single TES `location` to `path`.
By default no compression is used, since `IOSvc` does not currently support
compressed inputs and also because there is already compression internally
to the "DstData" raw banks (which dominate when no detector raw banks are
written out). See https://gitlab.cern.ch/lhcb/LHCb/-/issues/163.
"""
return LHCb__MDFWriter(
BankLocation=location,
Compress=compression, # TODO compression ???
Compress=compression,
Connection="file://{}".format(path),
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment