69 lines
1.9 KiB
Markdown
69 lines
1.9 KiB
Markdown
# asotr_flight
|
|
|
|
The asotr_flight python scripts is designed to analyze ASOTR flight data
|
|
|
|
## Contents
|
|
|
|
- **Setup**
|
|
- **Using**
|
|
- Plot ASOTR data in specified date borders (for MVN reports)
|
|
- **Contacts**
|
|
|
|
**Note**: \<PATH_TO_ASOTR_FLIGHT\> - path where is asotr_flight scripts is cloned from heagit
|
|
**Note**: \<PATH_TO_ASOTR_CSV\> - path where is asotr_csv program is cloned from heagit
|
|
|
|
## Setup
|
|
1. Install python 3.10 or newest.
|
|
|
|
2. Clone the repo to your computer:
|
|
```
|
|
git clone http://heagit.cosmos.ru/gamkov/asotr_flight.git
|
|
```
|
|
|
|
3. Enter the repo:
|
|
```
|
|
cd <PATH_TO_ASOTR_FLIGHT>
|
|
```
|
|
|
|
## Using
|
|
### Plot ASOTR data in specified date borders (for MVN reports)
|
|
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)
|
|
|
|
2. Parse all raw data from ASOTR into csv files and plot all csv data:
|
|
```
|
|
cd <PATH_TO_ASOTR_CSV>
|
|
./asotr_all_unzip_auto.sh <PATH_TO_ASOTR_DATA>/
|
|
```
|
|
csv data will be in directory:
|
|
```
|
|
<PATH_TO_ASOTR_CSV>/data/
|
|
```
|
|
|
|
3. plot ASOTR data in specified data borders
|
|
You might plot data by using shell-script (for MVN reports), for example:
|
|
```
|
|
cd <PATH_TO_ASOTR_FLIGHT>
|
|
./plot_flight_borders.sh <PATH_TO_ASOTR_CSV>/ 10.03.2025 23.04.2025 14 0
|
|
```
|
|
where:
|
|
10.03.2025 - start date
|
|
23.04.2025 - end date
|
|
14 - font size for plot
|
|
0 - display commands flag (not display)
|
|
|
|
Or you might plot data by using python script directly, for example:
|
|
```
|
|
cd <PATH_TO_ASOTR_FLIGHT>
|
|
python3 plot_flight_borders.py -s <PATH_TO_ASOTR_CSV> -c 100000 -a 01 -b 10.03.2025 -e 15.03.2025 -f 14 -d 0 -p 0
|
|
```
|
|
|
|
Graphs with data are in the directory:
|
|
```
|
|
<PATH_TO_ASOTR_FLIGHT>/reports
|
|
```
|
|
|
|
## Contatcs
|
|
For questions about the program, please contact Danila Gamkov, email: danila_gamkov@cosmos.ru
|