This piece of sotfware:
readCSVFile()read a*.csvfile formed by rows and columns into a struct.writeCsv2Bin()save the struct into a*.binfile.readBINFile()read the just saved*.binfile (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.
make. To clean make clean
make test. This will read ts.csv and produce ts.bin within /test dir.