Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

encore.hdf5.binding

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

encore.hdf5.binding

Binding of HDF5

  • 0.3.49
  • alpha
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

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:

PlatformPath
Linux/usr/local
WindowsC:/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

FAQs

Package last updated on 06 May 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc