32 Commits

Author SHA1 Message Date
Mario Fink
f99c37e6dd raweat.hpp: introduce error queue, find_markers: check for/consider corrupted markers 2020-10-14 15:30:46 +02:00
Mario Fink
043784d278 * rawmerge.hpp: generalize/fix condition for consistent timeseries
* introduce propagation of C++ exceptions to Cython/Python
* convert all cout/cerr output to exceptions
* Cython: introduce separate 'do_conversion' => avoid constructor to
trigger conversion
2020-09-18 18:43:25 +02:00
Mario Fink
3611e43276 raw_merge.hpp: fix condition for consistent time series 2020-09-15 19:34:06 +02:00
Mario Fink
956bf8ee58 lib/raweat.hpp: constructor: only start conversion for non-empty file names 2020-08-14 11:46:49 +02:00
Mario Fink
4ce51b55c7 rawmerger: write_table_all() for direct csv output of merged table 2020-08-13 16:01:54 +02:00
Mario Fink
0bd96a1426 fix bugs in lib/rawmerge.hpp: merge_channels(...) and improve example.py
- raweat.hpp: find_markers(): properly (re)adjust valid_ flag when doing multiple conversion
- rawmerge.hpp: improve logging, merge_channels(): add condition to avoid range error in vector
- example.py: obtain return flag from add_channel(), write csv output from parquet table
- main.cpp: return to pure raw_eater test version
2020-08-12 11:55:38 +02:00
Mario Fink
4843dcf774 - cython: raw_meat: add/adjust getter method
- implement full app example in pyt/example.py
	- merges time series of all consistent channels
	- extract them into pyarrow table
	- save pyarrow table as compressed parquet file
2020-08-11 17:40:11 +02:00
Mario Fink
9bbbada6c9 - adjust example main.cpp for test of rawmerge.hpp
- add getter methods including get_num_channels in rawmerge.hpp
2020-08-11 16:07:48 +02:00
Mario Fink
99e10a4f41 rawmerge.hpp: merge core method working/debugged 2020-08-11 15:36:23 +02:00
Mario Fink
1ee05c03a2 rawmerge.hpp: start implementation of merge 2020-08-10 17:29:49 +02:00
Mario Fink
7316d59c2c - add cython .cpp files to .gitignore
- raweat.hpp: add empty constructor and introduce "set_file"
- rawmerge.hpp: add initial channel and write_table method
- add rawmeat example to pyt/example.py
- add raw_merger.hpp to main.cpp
2020-08-10 14:54:15 +02:00
Mario Fink
23f933f68e check markers resolving #1 2020-08-10 12:33:11 +02:00
Mario Fink
f8dcc6493f initialize new cython module raw_meat 2020-08-10 12:03:35 +02:00
Mario Fink
ecd364d482 fix typo 2020-08-10 10:28:58 +02:00
2e8fea74a6 pyarrow_test.py: changed compression to BROTLI, fixed encoding in text 2020-08-05 11:58:17 +02:00
3618ed9ee8 -> correction write_table vs. write_data in main.cpp
-> container build of pyarrow (i.a. for armv7l build)
2020-08-05 11:32:02 +02:00
Mario Fink
26930e960c switch to cmake build 2020-08-03 17:51:27 +02:00
Mario Fink
232d376287 get dependencies 2020-08-03 01:19:24 +02:00
9e78f9dde0 next one 2020-07-31 20:33:11 +02:00
64090344c7 parquet: setup_sources.sh 2020-07-31 16:40:02 +02:00
aee2c180a7 extract essential dependecies 2020-07-31 14:01:19 +02:00
441745d894 start adding parquet support 2020-07-30 18:34:53 +02:00
Mario Fink
53377ec75b fix get_unit with correct marker name, generalize example.py 2020-07-29 17:17:01 +02:00
Mario Fink
6b3aac87fe show found markers, hex::show: include last incomplete line 2020-07-29 15:33:53 +02:00
Mario Fink
ebda13e738 raweat.hpp: get_unit(): check existence of marker 2020-07-28 17:25:41 +02:00
31e2d7a82e offer multiple csv-like output formats 2020-07-24 12:33:56 +02:00
4ef68695b3 remove assertions, check validity of file format 2020-07-23 18:09:42 +02:00
3711a94f8b proper log managment, disabled 2020-07-23 16:41:10 +02:00
4ebd965114 remove redundant headers, correct 2-byte-word datatype 2020-07-03 18:36:30 +02:00
a546a0a6fb add support for signed long int => int datatype 2020-07-03 18:19:30 +02:00
9c1e9d1468 fix conversion of with CP marker : Zahlenformat = 11 (2-Byte Word digital) 2020-07-03 17:55:59 +02:00
Mario Fink
494c0bc6b1 add extension to convert and temporal unify multiple raw files with different measruemtn frequencies. to BE DEBUGGED 2020-02-17 17:24:06 +00:00