mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-19 16:27:13 +02:00
remove binary version from hdf5 file
This commit is contained in:
@ -169,14 +169,6 @@ void MasterAttributes::GetFinalBinaryAttributes(
|
|||||||
void MasterAttributes::WriteCommonHDF5Attributes(H5::H5File *fd,
|
void MasterAttributes::WriteCommonHDF5Attributes(H5::H5File *fd,
|
||||||
H5::Group *group) {
|
H5::Group *group) {
|
||||||
char c[1024]{};
|
char c[1024]{};
|
||||||
// version
|
|
||||||
{
|
|
||||||
double version = BINARY_WRITER_VERSION;
|
|
||||||
H5::DataSpace dataspace = H5::DataSpace(H5S_SCALAR);
|
|
||||||
H5::Attribute attribute = fd->createAttribute(
|
|
||||||
"Version", H5::PredType::NATIVE_DOUBLE, dataspace);
|
|
||||||
attribute.write(H5::PredType::NATIVE_DOUBLE, &version);
|
|
||||||
}
|
|
||||||
// timestamp
|
// timestamp
|
||||||
{
|
{
|
||||||
time_t t = std::time(nullptr);
|
time_t t = std::time(nullptr);
|
||||||
|
Reference in New Issue
Block a user