https://github.com/vb64/planet_tracks
Console app for calculating Sun, Moon, etc coordinates for given point at the Earth with skyfield library.
https://github.com/vb64/planet_tracks
azimuth elevation planets python skyfield
Last synced: 4 months ago
JSON representation
Console app for calculating Sun, Moon, etc coordinates for given point at the Earth with skyfield library.
- Host: GitHub
- URL: https://github.com/vb64/planet_tracks
- Owner: vb64
- License: mit
- Created: 2022-12-10T06:57:36.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-16T18:26:02.000Z (over 2 years ago)
- Last Synced: 2025-02-03T15:55:32.938Z (5 months ago)
- Topics: azimuth, elevation, planets, python, skyfield
- Language: Python
- Homepage:
- Size: 14.9 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Planet tracks
[](https://github.com/vb64/planet_tracks/actions?query=workflow%3A%22pep257%22)
[](https://github.com/vb64/planet_tracks/actions?query=workflow%3A%22tests%22)
[](https://www.codacy.com/gh/vb64/planet_tracks/dashboard?utm_source=github.com&utm_medium=referral&utm_content=vb64/planet_tracks&utm_campaign=Badge_Grade)
[](https://www.codacy.com/gh/vb64/planet_tracks/dashboard?utm_source=github.com&utm_medium=referral&utm_content=vb64/planet_tracks&utm_campaign=Badge_Coverage)Console app for calculating Sun, Moon, etc coordinates for given point at the Earth with [skyfield library](https://github.com/skyfielders/python-skyfield/).
Next call saves to file `sun_xxxx.csv` in current dir the track of the Sun for location at latitude 51.551750 north degrees and longitude 45.964380 eastern degrees (Saratov, Russia).
```
source/main.py sun 51.551750 45.964380
```If you want location with south latitude / west longitude, use negative values. For example Rio de Janeiro, Brazil.
```
source/main.py moon -22.908333 -43.196388
```You can use next options to change output.
`--step`: Track points step in seconds. Default is 20.
`--length`: Track length in seconds. Default is 432000 (5 days).
`--min_elevation`: Minimal planet elevation in degrees above horizon. Default is 1.
`--utc`: Sets UTC time for start calculating. Format: 2022-01-31:23:00 Default is now.
`--output`: Sets file name for output data in CSV format. Default file name construct automatically.