g25 option passed to hdf5

This commit is contained in:
2022-02-04 15:09:18 +01:00
parent 83e0599a37
commit 20f3fb19af
3 changed files with 7 additions and 4 deletions

View File

@ -213,7 +213,9 @@ void DataProcessor::CreateVirtualFile(
if (virtualFile_) {
delete virtualFile_;
}
virtualFile_ = new HDF5VirtualFile(hdf5Lib);
gotthard25um = ((detectorType_ == GOTTHARD || detectorType_ == GOTTHARD2) &&
(numModX * numModY) == 2);
virtualFile_ = new HDF5VirtualFile(hdf5Lib, gotthard25um);
uint64_t numImagesProcessed = GetProcessedIndex() + 1;
// maxframesperfile = 0 for infinite files