mvn_accomp_csv/README.markdown
Danila Gamkov e0b1723722 fix readme
2025-01-29 18:10:25 +03:00

86 lines
3.2 KiB
Markdown

# mvn_accomp_csv
Raw accompanying MVN data parser. The parser reads T1MBH, T2MBH, T3MBH, T4MBH sensors data from files like MVN_010125_A-000.txt (see <sd> directory in science MVN data) and saves this data in csv-format files
## Contents
- **Setup**
- **Using**
- parsing accompanying MVN data file
- parsing all accompanying MVN data files in specified directory and subdirectories
- plot data in python
- **Output mvn_accomp_csv data files description**
- **Contacts**
## Setup
1. Install Rust compiler (if you don't have).
Installation on Linux:
```
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh
```
Installation on Windows:
Go to address https://www.rust-lang.org/tools/install and follow instructions
For more detailed information you can go to: https://doc.rust-lang.ru/book/ch01-01-installation.html
**Instruction for setup mvn_accomp_csv project**
2. Clone the repo to your computer:
```
git clone http://heagit.cosmos.ru/gamkov/mvn_accomp_csv.git
```
3. Enter the repo and compile it:
```
cd <PATH_TO_MVN_ACCOMP_CSV>
cargo build --release
```
After running this commands you will get an execution file (mvn_accomp_csv) in the following directory:
\<PATH_TO_MVN_ACCOMP_CSV\>/target/release/
## Using
### Parsing accompanying MVN data file
1. Donwload data from science data server to directory \<PATH_TO_MVN_ACCOMPANY_DATA\>.
If you don't have MVN data, you might download it from server with science SRG data (IP: 193.232.11.95).
For questions about downloading science data contact Shtykovsky A. (a.shtykovsky@cosmos.ru) or Chelovekov I. (chelovekov@cosmos.ru)
2. Run program mvn_accomp_csv:
```
cd <PATH_TO_MVN_ACCOMP_CSV>/target/release/
./mvn_accomp_csv -f <PATH_TO_MVN_ACCOMPANY_DATA>/MVN_010125_A-000.txt
```
csv data are ready to use in directory:
\<PATH_TO_MVN_ACCOMP_CSV\>/target/release/
### Parsing all accompanying MVN data files in specified directory and subdirectories
1. Donwload data from science data server to directory \<PATH_TO_MVN_ACCOMPANY_DATA\>.
If you don't have MVN data, you might download it from server with science SRG data (IP: 193.232.11.95).
For questions about downloading science data contact Shtykovsky A. (a.shtykovsky@cosmos.ru) or Chelovekov I. (chelovekov@cosmos.ru)
2. Run program mvn_accomp_csv:
```
cd <PATH_TO_MVN_ACCOMP_CSV>/target/release/
./mvn_accomp_csv -d <PATH_TO_MVN_ACCOMPANY_DATA>
```
csv data are ready to use in directory:
\<PATH_TO_MVN_ACCOMP_CSV\>/target/release/
### Plot csv data in Python
If you want to plot csv data you might use \<PATH_TO_MVN_ACCOMP_CSV\>/data/**plot_flight_all.py** python-script directly for set different configurations.
## Output mvn_accomp_csv data files description
**description:**
MVN_data_T1MBH.csv - temperature data in channel T1MBH (in Celsius)
MVN_data_T2MBH.csv - temperature data in channel T2MBH (in Celsius)
MVN_data_T3MBH.csv - temperature data in channel T3MBH (in Celsius)
MVN_data_T4MBH.csv - temperature data in channel T4MBH (in Celsius)
**file data csv fromat:**
column 1: timestamp (date and time)
column 2: temperature from sensor channel
## Contatcs
For questions about the program, please contact Danila Gamkov, mail: danila_gamkov@cosmos.ru