Comments (7)
Hi @KirmTwinty , thank for the example.
I'm working it in to the master branch now that v12 branch is merged. Probably will work in the swmr write as well and make it work from nodejs
from hdf5.node.
Good timing! I was about to ask the same...
from hdf5.node.
Hi,
http://hdf-ni.github.io/hdf5.node/ref/file.html File.prototype.enableSingleWriteMultiRead() is to turn it on. I don't have a good test case for it; we test and see if it works
from hdf5.node.
Apparently, it doesn't work, not implemented.
Since I needed it for a professional project,
I have made a fork of the v12 branch
in my repository, implementing an SWMR Reader only:
You need to change a bit your code though since the creation of a new object Dataset that behaves like a Group object was needed.
Check out the About this fork
section in the readme.md
from hdf5.node.
Great news, thanks!
I actually applied the Group
and File
reading principles to Dataset
.
The good thing is that the library will principally rely on the bare H5 library (which could be done for any reading and writing mode). The different calls to the H5LT one could be removed?
Do not hesitate if I can help.
from hdf5.node.
Hi @KirmTwinty, Thank you
The H5LT was the beginning; thought it would get the furtherest at the time. Internally h5_lt.hpp has been relying more and more on the bare h5. Tables, packet tables and image APIs will still need the lite(I don't have an energetic reason to rewrite those).
Mostly want to keep the javascript side steady for users with potential additions. The SWMR is probably the most useful new addition to users out there. The idea is not to replicate every API function of hdf5 but map the hierarchical nature of the data and attributes to the nature of js without the user needing to learn a c style API replication but get to their data/attributes the way js already is designed. Have to think some more.
from hdf5.node.
I totally understand! Thank you for coming with this.
My intend was to suggest a potential performance improvement, not to criticize :)
I see your point for trying to keep JS philosophy while interfacing with a C API, not such an easy task.
from hdf5.node.
Related Issues (20)
- Getting dataset attribute (getDatasetAttribute) on a 32 bit floating point in NODE/javascript returns a totally different value HOT 6
- hdf5_home_win does not get set HOT 2
- Read dataset with 2d array stored fails on reading chunks HOT 10
- issues reading 4 dimensional dataset HOT 2
- SyntaxError: unsupported data type on compound datasets HOT 5
- Node 12? HOT 32
- Delete attribute HOT 6
- Tutorial: "Writing & Reading subsets" is not working. HOT 3
- Segfault reading HOT 4
- issue with appending to tables on windows 10
- Error: The specified procedure could not be found. (process.dlopen) HOT 1
- `hdf5.File is not a constructor` when bundled with webpack HOT 2
- cannot install HOT 3
- Win10+Node v14.15.5 Compilation errors HOT 6
- Getting data from Buffer
- Compile Error HOT 12
- install with yarn? HOT 2
- windows-build-tools / vs2017? HOT 37
- Error with handling variable length data (H5T_VLEN) HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hdf5.node.