add .bat files for cmd windows

This commit is contained in:
Danila Gamkov
2025-06-09 14:37:23 +03:00
parent b04009ad27
commit 801d4563b2
3 changed files with 46 additions and 14 deletions

21
bin/asotr_unzip_plot.bat Executable file
View File

@@ -0,0 +1,21 @@
@echo off
REM check for one argument
IF "%~1"=="" (
echo error using scrpt. Right use this script:
echo %~nx0 path
goto :EOF
)
REM copy acotr_csv parsert to /bin
copy "..\asotr_csv\target\release\asotr_csv.exe" .\
set "path_=%~1"
REM unpacking recursively archive using Python script
python recursive_unpack_targz.py "%path_%"
REM run parser
asotr_csv.exe -d "%path_%"
REM plot data
python plot_asotr_flight_all.py