#1041395 libcbf1: Problem with data block name size

Package:
libcbf1
Source:
libcbf1
Description:
shared library supporting CBFlib
Submitter:
Martin Tolkiehn
Date:
2023-07-18 12:33:04 UTC
Severity:
normal
#1041395#5
Date:
2023-07-18 12:27:19 UTC
From:
To:
Dear Maintainer,

I'm using CBFlib to create .cbf files containing diffraction data that was acquired with an area detector.
Every .cbf file contains just one image and it seems the library sets the data block name by default to the path/filename of that file.
This sometimes leads to quite long data block names, which can easily exceed 75 characters. Later I open these files with another program
that uses CBFlib to analyze the images. This program will then complain about the long data block names with the following error message:

CBFlib: error input line 4 (1) -- data block name exceeds 75 characters

If I change the data block name (manually) the file can be opened just fine. This is a work around but does not really fix the problem.
I would rather expect that CBFlib should be able to open a cbf file that it created itself. For other programs that do not use this library
the long data block name does not seem to be a problem (e.g. adxv).