Refactor: 1. add print into console data, 2. rewrite CLI parsing, 4. the output format csv has been reworked. 5. Add information to README. For addition create python code for plot csv data

This commit is contained in:
Danila Gamkov
2025-01-29 13:47:36 +03:00
parent d3cf1281dd
commit b44fc029fc
10 changed files with 458 additions and 74 deletions

View File

@@ -8,6 +8,7 @@ The parser for converting data from the ASOTR MVN control channels into the CSV
- **Using**
- parsing ASOTR MVN data files in specified directory
- parsing all ASOTR MVN data files in specified directory and subdirectories
- plot data in python
- **Output asotr_csv data files description**
- **Contacts**
@@ -82,6 +83,9 @@ cd <PATH_TO_ASOTR_CSV>/target/release/
csv data are ready to use in directory:
\<PATH_TO_ASOTR_CSV\>/target/release/
### Plot csv data in Python
If you want to plot csv data you might use \<PATH_TO_ASOTR_CSV\>/**asotr_all_unzip_auto.sh** shell script or use \<PATH_TO_ASOTR_CSV\>/data/**plot_flight_all.py** python-script directly for set different configurations.
## Output asotr_csv data files description
**description:**
asotr01_data_T.csv - ASOTR1 temperature data in channels 1-6 (in Celsius)
@@ -92,10 +96,9 @@ asotr02_data_P.csv - ASOTR2 power data in channels 1-6 (in %)
asotr02_data_TSET.csv - ASOTR2 temperature sets in channels 1-6 (in Celsius)
**file data csv fromat:**
column 1: Unix timestamp
column 2: date
column 3: time
columns 4-9 - data from control channels (power, temperature or temperature set)
column 1: Unix timestamp in seconds
column 2: timestamp (data and time)
columns 3-8 - data from control channels (power, temperature or temperature set)
## Contatcs