22 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
0
answers
32
views
Using HDFql to filter out groups that have specific attribute values
I am trying to use the HDFql C++ library to select groups that have attributes with specific values. There are an arbitrary number of groups in the root group, and each group has the same attribute ...
1
vote
1
answer
182
views
Add datetime to HDF5 chunks with HDFql
I have this code to write chunks of arrays to HDF5 and I want to add a timestamp attribute to each chunk or another field with a datetime
using AS.HDFql;
// declare variables
float[,,] traindata = ...
0
votes
1
answer
232
views
Сorrect write from memory in hdfql to dataset
After reading the documentation, I still did not figure out how to write data from memory (variables) to datasets correctly.
For example, with the construction
CREATE TRUNCATE CHUNKED DATASET dsetint ...
0
votes
1
answer
169
views
HDFql sequential writing to the structure dataset
I am trying to write a simple structure in hdf5
But I still can't add records to the already created dataset.
The task itself is to store a set of bytes of arbitrary length and its size
void ...
2
votes
0
answers
1k
views
VSCode/Cmake Tools: add external header library
I want to use a library called HDFQL in a C++ project in VSCode. I am trying to use the extension CMake Tools as much as possible. HDFQL is a header library and usually I would write the following ...
0
votes
0
answers
216
views
importing multiple CSV files into hdf5 using hdfql?
I have to know how to use hdfql to import multiple csv files into one hdf5 file using hdfql method?
1
vote
3
answers
345
views
How to obtain a string type data in a dataset with HDFql in JAVA?
I'm new in HDF5 and HDFql, I'm working in java and I have a .h5 file with several groups, inside each group I have different Datasets, some are floating arrays, which I get as follows.
https://gyazo....
0
votes
0
answers
240
views
HDF5 files larger than expected using HDFql
Consider the following code, which simply dumps one million 2-Byte integers into a HDF5 file using HDFql:
std::string filepath = "/tmp/test.h5";
sprintf(script_, "CREATE TRUNCATE FILE %s", filepath....
0
votes
2
answers
188
views
HDFql Writing Very Slow
I have some code, which iteratively receives data which it dumps to a HDF5 file. Here is a toy example of what I am trying to achieve:
#include <HDFql.hpp>
void createHDF(const std::string &...
0
votes
1
answer
306
views
HDFql Get Size of Group
I am wondering how to get the number of datasets within a group using C++ and HDFql. Currently I have tried something like this (inspired by the HDFql manual):
char script[1024];
uint64_t group_size =...
0
votes
3
answers
256
views
HDFql Filling Dataset Iteratively from std::vector
I am trying to fill a dataset in an HDF5 file iteratively using HDFql. What I mean by iteratively, is that my simulator occasionally comes along with an update and I wish to dump some more data (which ...
1
vote
1
answer
285
views
HDFql Adding Data to Existing Dataset
I want to create a HDF5 file in C++ and dynamically add data to a dataset contained in that file. I have been having some trouble getting this work however, with this minimal example as my current ...
0
votes
1
answer
389
views
Read Value of Attribute in HDFql
I am using HDFql to create an HDF5 file. I am creating a group and putting some data into it and that works fine. I then add an attribute to the file (which also seems to work, since it shows up when ...
1
vote
2
answers
380
views
HDFql Saving and Loading Images
I am trying to save images from OpenCV to HDF5 using HDFql. Here is a minimal example of what I am trying to achieve (assuming you have an image at /tmp/lena.jpg):
#include <iostream>
#include &...
0
votes
1
answer
252
views
Linking external HDFql library in CMake
I have downloaded the HDFql library and put the whole lot in /usr/local/ in my linux system. I now wish to use this library in a ROS application, so I have tried to link it in my CMakeList, which ...