https://github.com/baskiton/satpass
Calculate the passage of a satellite over given coordinates (Observer) and save the result into separate files
https://github.com/baskiton/satpass
Last synced: 2 months ago
JSON representation
Calculate the passage of a satellite over given coordinates (Observer) and save the result into separate files
- Host: GitHub
- URL: https://github.com/baskiton/satpass
- Owner: baskiton
- License: mit
- Created: 2023-10-01T18:11:22.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-10-01T18:46:17.000Z (over 2 years ago)
- Last Synced: 2025-03-12T06:17:30.852Z (over 1 year ago)
- Language: Python
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SatsPass
Calculate the passage of a satellite over given coordinates (Observer) and save the result into separate files
### Installation
* [Install Python](https://www.python.org/downloads/)
* Download this repo
* *Optionally: prepare virtual environment*
* Linux
```shell
python3 -m venv venv
source venv/bin/activate
```
* Windows
* cmd.exe
```shell
python -m venv venv
.\venv\Scripts\activate.bat
```
* PowerShell
```shell
python -m venv venv
.\venv\Scripts\Activate.ps1
```
* Install dependencies
```shell
pip install -r requirements.txt
```
### Usage
`app.py [-h] [-t T] [-n N] config sats`
positional arguments:
* `config` Path to config.json
* `sats` Satellite names list to find passes, comma separated
options:
* `-h, --help` show this help message and exit
* `-t T` Start datetime to find passes in ISO format (e.g.: 2012-02-12 11:22:33), `current` by default
* `-n N` Num of satellite passes, `1` by default
For example:
```shell
python app.py "/path/to/config.json" "SAT1,SAT2,SAT3"
```
#### Output file format
Name: ` .txt`
Line: ` `
### Configure
| Field | Type | Description |
|------------|---------|-----------------------------------------------------------------------|
| lat | Number | Observer Latitude in degrees |
| lon | Number | Observer Longitude in degrees |
| alt | Number | Observer Sea Level Altitude in meters, `0.0` by default |
| temp | Number | Observer Air temperature in Celsius deg, `0.0` by default |
| timedelta | Integer | Time step in seconds, `1` by default |
| min_elev | Number | Minimum satellite elevation on pass, in degrees |
| break_elev | Number | Start/Stop recording satellit elevation, in degrees, `0.0` by default |
| tle_file | String | Path to file containing TLE data |
| out_dir | String | Path to store output files |