ReadDataset { public static void main(String[] args) { File file = new File(args[0]); try (HdfFile hdfFile = new HdfFile(file)) { Dataset dataset = hdfFile.getDatasetByPath(args[1]); Object data = dataset.getData(); System.out.println(ArrayUtils.toString(data)); } }  static void main(String[] args);  }
@Test void testOpeningV1File() { assertDoesNotThrow(() -> ReadDataset.main(new String[] { "src/test/resources/hdf5/test_file.hdf5", "/nD_Datasets/3D_float32" })); }
@Test void testOpeningV2File() { assertDoesNotThrow(() -> ReadDataset.main(new String[] { "src/test/resources/hdf5/test_file2.hdf5", "/nD_Datasets/3D_float32" })); }