Plugin for dynamically loaded library:Can't open directory or file ["H5PL.c line 402 in H5PL__find()

i have a h5 file and i want to read its data in my java program. first of all, i import the sis-jhdf5-batteries_included.jar to my project, then, i use the follow code to read a dataset:

 

IHDF5Reader reader=HDF5Factory.openForReading(h5filepath);
reader.int16().readArray("/REF/DataSet_1000_1");
reader.close();

 

unfortunatly, when i run the program, it thorws out an exception:

in thread "main" ncsa.hdf.hdf5lib.exceptions.HDF5LibraryException: Plugin for dynamically loaded library:Can't open directory or file ["H5PL.c line 402 in H5PL__find(): can't open directory"]
	at ch.systemsx.cisd.hdf5.hdf5lib.H5.H5Dread(Native Method)
	at ch.systemsx.cisd.hdf5.hdf5lib.H5D.H5Dread(H5D.java:381)
	at ch.systemsx.cisd.hdf5.HDF5.readDataSet(HDF5.java:944)
	at ch.systemsx.cisd.hdf5.HDF5ShortReader.readShortArray(HDF5ShortReader.java:199)
	at ch.systemsx.cisd.hdf5.HDF5ShortReader.access$1(HDF5ShortReader.java:192)
	at ch.systemsx.cisd.hdf5.HDF5ShortReader$5.call(HDF5ShortReader.java:186)
	at ch.systemsx.cisd.hdf5.HDF5ShortReader$5.call(HDF5ShortReader.java:1)
	at ch.systemsx.cisd.hdf5.cleanup.CleanUpCallable.call(CleanUpCallable.java:40)
	at ch.systemsx.cisd.hdf5.HDF5ShortReader.readArray(HDF5ShortReader.java:189)
	at VariableTest.main(VariableTest.java:24)

i don't know how to solve this problem, anyone can help me?

the h5 file's data format like this ( use hdfview to open it ):

exception.pngwhen i double click on the DataSet_1000_1, the same exception happens:exception1.png

the DataSet_1000_1 in fact is a 2D image (1200*1200)

any answer will be appreciated, thanks in advance!

1 answer

1 accepted

Comments Closed
This widget could not be displayed.

Could you explain what this has to do with Atlassian applications?

Nothing then, I think you're in the wrong place.

Community showcase
Posted 4 hours ago in Europe

ABUG-20 Livestream: The 20th Atlassian Belgian User Group (including a Summit 2018 Recap)

You can't/couldn't make it to our User Group today? Don't worry, we'll be live streaming and recording the event for your sake. Comments, questions, basically any reactions can be posted below! New...

30 views 0 0
View post

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you