add Docker support: docker-compose with local path

This commit is contained in:
Danila Gamkov
2025-10-29 12:15:21 +03:00
parent cf445dc99c
commit 14c306818c
5 changed files with 74 additions and 2 deletions

View File

@@ -11,6 +11,7 @@ This project contains tools for decoding, converting, and visualizing telemetry
- **Using the tools**
- *Plot all ASOTR data*
- *Plot ASOTR data in specified date borders (for MVN reports)*
- **Docker setup**
- **Contacts**
**Note 1**: \<PATH_TO_MVN_FLIGHT\> - path where is mvn_flight scripts is cloned from heagit
@@ -126,13 +127,13 @@ csv data will be in directory:
Linux:
```bash
cd bin
./plot_flight_borders.sh ../data/asotr/ 10.03.2025_00:00:00 23.04.2025_23:59:59
./plot_flight_borders.sh 10.03.2025_00:00:00 23.04.2025_23:59:59
```
Windows:
```cmd
cd bin
plot_flight_borders.bat ..\data\asotr\ 10.03.2025_00:00:00 23.04.2025_23:59:59
plot_flight_borders.bat 10.03.2025_00:00:00 23.04.2025_23:59:59
```
where:
@@ -144,5 +145,23 @@ plots with data are in the directory:
/plots/reports
```
### Docker Setup
running a docker image is an alternative way to use `mvn_flight` software.
you just follow steps:
1. download mvn raw data into \<PATH_TO_ASOTR_DATA\>, see chapter: `Plot all ASOTR data`
2. compose and run docker image:
```bash
docker compose up -d --build
docker exec -it asotr_container bash
```
3. Parse all raw data from ASOTR into csv files and plot all csv data:
```bash
./asotr_unzip_plot.sh /mnt/raw_mvn_data/
```
4. plot ASOTR data in specified data borders:
./plot_flight_borders.sh 10.03.2025_00:00:00 23.04.2025_23:59:59
## Contatcs
For questions about the program, please contact Danila Gamkov, email: danila_gamkov@cosmos.ru