My NeXus file has the top-level group name "entry" but I cannot override it:
evaluating: {
setInputData("/home/wozniak/nexus-data/pznpt.nxs#entry")
}
Set input data to /home/wozniak/nexus-data/pznpt.nxs#entry
inputData:setDataSource("/home/wozniak/nexus-data/pznpt.nxs#entry")
scheme:
host:
path: /home/wozniak/nexus-data/pznpt.nxs
query:
fragment: entry
About to open input file: /home/wozniak/nexus-data/pznpt.nxs dataset: data
HDF5 Error occurred
../../../src/H5D.c:334 : not found
../../../src/H5Gloc.c:430 : can't find object
../../../src/H5Gtraverse.c:861 : internal path traversal failed
../../../src/H5Gtraverse.c:641 : traversal operator failed
../../../src/H5Gloc.c:385 : object 'data' doesn't exist
HDF5 Error occurred
I'm not sure what is going on here - one problem is that the code is expecting the name of a data object, not a group, so you'd want something like
pznpt.nxs#entry/data/v
You might also try a leading slash before entry -
pznpts.nxs#/entry/data/v
Thanks- I did not know HDF would accept the whole path in one string
I think this issue is caused by CctwChunkedData::onDataFileNameChanged(), which opens the file before I have a chance to change its name.