I write Server Application which will send extracted data from HDF5 files to many clients simultaneously
There is a code (run in separate thread):
var _fileID = H5F.open("C:\\Temp\\MLS-Aura_L2GP-Temperature_v03-33-c01_2012d347.he5", H5F.OpenMode.ACC_RDONLY);
H5D.open(_fileID, "/HDFEOS/SWATHS/Temperature/Data Fields/Temperature");
var space = H5D.getSpace(dataset);
var size = H5S.getSimpleExtentDims(space);
float[,] SatData = new float[size[0], size[1]];
var wrapArray = new H5Array<float>(SatData);
var dataType = H5D.getType(dataset);
H5D.read(dataset, dataType, wrapArray);
If I try to read HDF5 dataset in separate thread "H5D.read(dataset, dataType, wrapArray);" with more than one thread, i have an Error: "Failed to read data to data set 5000001 with status -1"
What's the problem?