Giter Site home page Giter Site logo

encore.hdf5.binding's Introduction

module::encore.hdf5.binding status stability-experimental

This is binding for HDF5.

About the fork

This is fork, which is created to provide prebuild versions and fix issues of the original implementation.

Support

Node versions:

  • v14
  • v13
  • v12
  • v10

HDF5 versions:

  • v1.10.x
  • v1.8.x

How to add to your project

npm add encore.hdf5.binding@stable

This installation method assumes that you have HDF5 library installed at default path.

Default path to HDF5 library

The module expects that HDF5 library is installed at:

Platform Path
Linux /usr/local
Windows C:/Software/hdf5
Mac /usr/local

How to provide custom path to HDF5 library

If your HDF5 library installation is not located on default path you can set the path with a switch on this project as well as dependent projects:

On Linux:

npm add encore.hdf5.binding@stable --hdf5_home_linux=<your native hdf path>

On Mac:

npm add encore.hdf5.binding@stable --hdf5_home_mac=<your native hdf path>

On Windows:

npm add encore.hdf5.binding@stable --hdf5_home_win=<your native hdf path>

How to install HDF5 library

Installation instructions for HDF5 library can be found here

Prerequisites

Note: If node-gyp isn't installed

npm install -g node-gyp

Try out

var path = require( 'path' );
var hdf5 = require( 'encore.hdf5.binding' ).hdf5;
var Access = require( 'encore.hdf5.binding' ).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();

Source code

encore.hdf5.binding's People

Contributors

vmihdal avatar wandalen avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.