@Test void testOpeningV1File() { assertDoesNotThrow(() -> ReadDataset.main(new String[] { "src/test/resources/hdf5/test_file.hdf5", "/nD_Datasets/3D_float32" })); }
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)); } }
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)); } } }
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)); } }  }
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); }
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);  }