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