correct README

This commit is contained in:
Danila Gamkov
2025-04-24 19:09:07 +03:00
parent bede2322ac
commit aa98cf7b3a
3 changed files with 33 additions and 17 deletions

View File

@@ -12,6 +12,8 @@ The parser for converting data from the ASOTR MVN control channels into the CSV
- **Output asotr_csv data files description**
- **Contacts**
**Note**: \<PATH_TO_ASOTR_CSV\> - path where is asotr_csv program is cloned from heagit
## Setup
1. Install Rust compiler (if you don't have).
Installation on Linux:
@@ -41,7 +43,7 @@ After running this commands you will get an execution file (asotr_csv) in the fo
\<PATH_TO_ASOTR_CSV\>/target/release/
## Using
### parsing ASOTR MVN data files in specified directory
### Parsing ASOTR MVN data files in specified directory
1. Donwload data from science data server to directory \<PATH_TO_ASOTR_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)
@@ -62,7 +64,7 @@ cd <PATH_TO_ASOTR_CSV>/target/release/
csv data are ready to use in directory:
\<PATH_TO_ASOTR_CSV\>/target/release/
### parsing all ASOTR MVN data files in specified directory and subdirectories
### Parsing all ASOTR MVN data files in specified directory and subdirectories
1. Donwload data from science data server to directory \<PATH_TO_ASOTR_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)
@@ -70,21 +72,31 @@ For questions about downloading science data contact Shtykovsky A. (a.shtykovsky
2. Run linux bash script **asotr_all_unzip.sh** for directory with MVN data in order to unpack all **asotr.tar.gz** archives with ASOTR MVN data, for example:
```
cd <PATH_TO_ASOTR_CSV>
./asotr_all_unzip.sh <PATH_TO_ASOTR_DATA>
./asotr_all_unzip.sh <PATH_TO_ASOTR_DATA>/
```
**Note**: the script **asotr_all_unzip.sh** will not work on windows, you will need to unpack the each archive **\<PATH_TO_ASOTR_DATA\>/\<DIRECTORY_WITH_DATA\>/data/asotr.tar.gz** manually or write the corresponding Windows bat-file
3. Run program asotr_csv:
If you want to parse astor data in specified directory, run program asotr_csv directly:
```
cd <PATH_TO_ASOTR_CSV>/target/release/
./asotr_csv -d <PATH_TO_ASOTR_DATA>
```
csv data are ready to use in directory:
\<PATH_TO_ASOTR_CSV\>/target/release/
3. csv data in directory:
\<PATH_TO_ASOTR_CSV\>/data/
### 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.
If you want to parse all raw data from astor into csv files and plot csv data you might use shell script:
```
cd <PATH_TO_ASOTR_CSV>
./asotr_all_unzip_auto.sh
```
or if you already have csv files with ASOTR data, you might use plot script only:
```
cd <PATH_TO_ASOTR_CSV>/data/
plot_flight_all.py
```
## Output asotr_csv data files description
**description:**