模块::encore.hdf5
HDF5与安装。
如何添加到您的项目
npm add encore.hdf5@stable
试用
var path = require ( 'path' ) ;
var hdf5 = require ( '../..' ) . hdf5 ;
var Access = require ( '../..' ) . globals . Access ;
var file = new hdf5 . File ( path . join ( __dirname , './File.h5' ) , Access . ACC_RDONLY ) ;
var members = file . getMemberNames ( ) ;
console . log ( members ) ;
/*
log:
[ 'group1' ]
*/
file . close ( ) ;
1