Closed martinschorb closed 4 years ago
I cannot reproduce this, the following code works for me:
from mobie import initialize_dataset
ROOT = '.'
path = '/g/emcf/Hamburg_XRay/20200515/20x/TAH01_parz.h5'
key = "/t00000/s00/0/cells"
scale_factors = [[2, 2, 2]]
initialize_dataset(path, key, ROOT,
'test', 'X-Ray-raw',
resolution=[0.1, 0.1, 0.1],
chunks=(64, 64, 64),
scale_factors=scale_factors,
is_default=1, target='local', max_jobs=16)
Note that I had to fix something in the downscaling logic for this to work, so you will need to update cluster tools in your env: https://github.com/constantinpape/cluster_tools
@martinschorb
maybe there is an issue with the h5py version. In my env I have
h5py 2.9.0 nompi_py37hf008753_1102 conda-forge
OK, runs now.
I just did a git pull
in the main directory, but in order to get the proper cluster tools
had to do it in that subdirectory as well...
Hi, I cannot get the h5 to be read.