Looking for converting a CSV file to HDF5 file


#1

Is there any pre-defined or existing functions or libraries that I can add in C# .NET to obtain the result as HDF5 output file.

Input file C# code/Library Output file

CSV file -----------------> [Some c# code/library/magic] ------> HDF5 formatted file

Please help me here!

Thanks,
Atulya


#2

No magic here… Read your CSV data into a memory buffer, create HDF5 file and a dataset and then write the buffer to the dataset.

You may try HDFView tool to import data from the text file; see section 5.6 in the User’s Guide https://portal.hdfgroup.org/display/HDFVIEW/HDFView+3.x+User’s+Guide. It is really easy!

Thank you!

Elena