Hierarchical Data Format (HDF5) within the .NET framework.
Questions tagged [hdf5dotnet]
12 questions
1
vote
1 answer
How to make a compound datatype with HDF5DOTNET?
I have problems when I write a struct with arrays in it into an HDF5 dataset. Firstly, the window form doesn't start with the line:
H5T.insert(typeStruct, "string", 0, H5T.create_array(new H5DataTypeId(H5T.H5Type.C_S1), dims2));
The window form at…

maynull
- 1,936
- 4
- 26
- 46
1
vote
2 answers
Load dataset from HDF5 file in C#
I'm trying to load a dataset from a HDF5 file in C# (.NET Framework) in such a way that I have the contents in an array, e.g. float[,]. I found the HDF.PInvoke library, but I find it very difficult to figure out how to use it.
Update
From Soonts…

Kris
- 22,079
- 3
- 30
- 35
1
vote
0 answers
my .Net app gets load error for NuGet package HDF5DotNet.DLL x86 on Windows 10 virtualization by VirtualBox or VMware on ubuntu
My .NET windows forms app gets error (below) when it tries to call a function in the HDF5dotNet.DLL NuGet package.
My app runs on Windows 10, which runs in a 64bit Oracle VirtualBox (ie. virtual machine) that was spun up by ubuntu linux on an actual…

Doug Null
- 7,989
- 15
- 69
- 148
0
votes
0 answers
Try to use hdf5dotnet in C#program , but visual studio show me “System.IO.FileNotFoundException” can't load “HDF5DotNet.dll”
when i use hdf5dotnet in my C# programe, it's show something about System.IO.FileNotFoundException with HDF5DotNet.dll

Ludovico
- 1
0
votes
1 answer
Deleting hdf5 dataset using C#
I using HDF5 database and wanted to delete and update dataset , using
below code I am creating group structure and created one dataset but
now stuck on deleting dataset.
code below:
public void DeleteDataset()
{
string filename =…

SAGAR AUTE
- 1
- 1
0
votes
1 answer
problem for writing in existing dataset hdf5dotnet
I'm having trouble when I write on an existing dataset using hdf5dotnet. I'm writing in run time many times, and only the first write works perfectly. the second overwrite first datas. As you can see on the screen, the 4th first values are correct…

guillaume lemariey
- 23
- 2
0
votes
0 answers
Read HDF5 file within .net
I am trying to read a file with HDF5DotNet.dll but I am getting the following error:
1. Solution exception:H5F.open
File "recorder.h5" failed to open with status -1
I have been able to open the file with HDFView so I am pretty sure the file is not…

MarcoPellegrino
- 1
- 2
0
votes
1 answer
HDF5DotNet package import from nuget in Unity
I'm trying to add HDF5DotNet to my Unity project. I've downloaded the package from Nuget, extracted it after changing it to Zip. Then I copied the dll file to the Plugins directory in the Assets directory inside my project.
However, when I try to…

hugo2410
- 1
- 1
0
votes
0 answers
Convert .h5 content to JSON from an IFormFile
I have an asp net core web application where I can upload files, and on the controller I get the files in IFormFile like this:
public IActionResult Create (AcquisitionDto acquisitionDto)
Some of these files are images, but one is a .h5…

supremus
- 11
- 2
0
votes
1 answer
Why won't my .NET app "load file or assembly 'HDF5DotNet'"?
My app is a .NET Windows form app.
It calls a function in a C# class library project but I get the following error...…..
"System.BadImageFormatException: 'Could not load file or assembly
'HDF5DotNet, Version=1.8.9.0, Culture=neutral,
…

Doug Null
- 7,989
- 15
- 69
- 148
0
votes
2 answers
how to read an HDF5 multi-dimensional array dataset using HDF5DotNet from C# .net?
I need to read a HDF5 dataset that contains a 3 x 3 array, datatype is double.
My Visual Studio 2017 Pro crashes when returning from my code below.
Stepping with debugger, this code reads the 2-dim array from the HDF5; I can read it in the debugger;…

Doug Null
- 7,989
- 15
- 69
- 148
0
votes
1 answer
Am I using HDF5DotNet the correct way to find a dataset within a group in an HDF5 file on Windows 10?
(I am a newbie to HDF5)
My problem is that it isn't finding object dataset "xyz" within group "XY", though it finds object group "XY".
C# .NET on Windows 10 64-bit.
The code...………
static ObjectInfo info;
static H5FileId…

Doug Null
- 7,989
- 15
- 69
- 148