Skip to content

ValueError: Chunk shape must not be greater than data shape in any dimension.

I'm trying to concatenate two Dl h5 files, but I receive the error

ValueError: Chunk shape must not be greater than data shape in any dimension. (4096,) is not compatible with (349,)

after executing

fc = FileConcatenator(list_of_input_paths, skip_errors=False)

fc.concatenate(output_path)

The paths to the files I'm using are:

/sps/km3net/users/lhennig/data_repo/data_repo_h5Dl/test/mcv6.0.gsg_anti-elec-CC_1-500GeV.km3sim.jterbr00009095.jorcarec.jsh.aanet.1448.h5Dl.h5

/sps/km3net/users/lhennig/data_repo/data_repo_h5Dl/test/mcv6.0.gsg_anti-elec-CC_1-500GeV.km3sim.jterbr00009106.jorcarec.jsh.aanet.1449.h5Dl.h5

If you don't have permissions to use them, you can find the raw files at /sps/km3net/repo/mc/atm_neutrino/KM3NeT_00000049/v6.0/reco/ by replacing ".h5Dl.h5" by ".root". Thanks in advance for your help!

Edited by Lukas Hennig
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information