Comments (14)
Thanks, it works for me now, both the installation and dataset attributes reading.
from hdf5.node.
Yea anything that gives me an idea of what is going on would help; I will work on this project on the weekend(work days are loaded)
from hdf5.node.
It's an array of variable sized strings?
from hdf5.node.
Thank you so much @rimmartin for your work on this module and fast response.
Please find sample data attached and the output of reading attribute with group.getDatasetAttributes
:
scada/active_power
{ initial_time: '�c@\u0003\u0001',
time_step: '�`@\u0003\u0001',
unit: '�w@\u0003\u0001' }
scada/generator_speed
{ initial_time: '��@\u0003\u0001',
time_step: '',
unit: 'P�@\u0003\u0001' }
from hdf5.node.
Ok, we'll see over the weekend
from hdf5.node.
It's reading from your sample.h5 now. Thanks for it. I haven't published to npm yet; you can use "hdf5": "HDF-NI/hdf5.node", in your project's package.json to pull it from github. If you need it published I'll do it in the next couple of days.
from hdf5.node.
Thanks @rimmartin, experimental release is just fine.
Installation works on Linux and fails on OSX, probably because of the compiler flag required for "mac":
../src/h5_file.cc:201:22: error: extra tokens at end of #ifdef directive [-Werror,-Wextra-tokens]
#ifdef H5_VERSION_GE(1,10,0)
^
//
1 error generated.
from hdf5.node.
Ah that is something new I was adding for Single-Write-Multi-Read enabling for 1.10.x versions; I'll test on a mac tonight as well if it skips that code for 1.8.x version of node
from hdf5.node.
I commented the #ifdef H5_VERSION_GE(1,10,0) segement temporarily so it should build on darwin
from hdf5.node.
Thank you @rimmartin . I tested and got following output on Mac now:
CXX(target) Release/obj.target/hdf5/src/h5_group.o
SOLINK_MODULE(target) Release/h5im.node
SOLINK_MODULE(target) Release/h5pt.node
SOLINK_MODULE(target) Release/h5ds.node
../src/methods.cc:581:40: error: unused variable 'idx' [-Werror,-Wunused-variable]
hsize_t idx = args[0]->Int32Value();
^
../src/methods.cc:583:36: error: unused variable 'argc' [-Werror,-Wunused-variable]
const unsigned argc = 2;
^
2 errors generated.
make: *** [Release/obj.target/hdf5/src/methods.o] Error 1
make: *** Waiting for unfinished jobs....
../src/h5_file.cc:201:11: error: unused variable 'file' [-Werror,-Wunused-variable]
File* file = ObjectWrap::Unwrap<File>(args.This());
^
1 error generated.
from hdf5.node.
ah warnings are set to error; let me comment that out or move it within the commneted segment...
from hdf5.node.
pushed another try
from hdf5.node.
oh there are more ok wait ...
from hdf5.node.
ok got all three
from hdf5.node.
Related Issues (20)
- Support for Single Writer Multiple Reader (SWMR)? HOT 7
- 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.