Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 570 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 570 Bytes

csv2bin

Overview

This piece of sotfware:

  1. readCSVFile() read a *.csv file formed by rows and columns into a struct.
  2. writeCsv2Bin() save the struct into a *.bin file.
  3. readBINFile() read the just saved *.bin file (optional)

The case presented here is for a CSV file containing a time series. The code need to be adapted depending of CSV data structure, in particular, the structre in csv2bin.h.

Execution

Compile

make. To clean make clean

Execute

make test. This will read ts.csv and produce ts.bin within /test dir.