Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 24 days 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 (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-16T18:26:02.000Z (almost 2 years ago)
- Last Synced: 2023-02-26T03:47:12.041Z (over 1 year ago)
- Topics: azimuth, elevation, planets, python, skyfield
- Language: Python
- Homepage:
- Size: 14.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Planet tracks
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/vb64/planet_tracks/pep257.yml?label=Pep257&style=plastic&branch=main)](https://github.com/vb64/planet_tracks/actions?query=workflow%3A%22pep257%22)
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/vb64/planet_tracks/tests.yml?label=Python%203.7-3.10&style=plastic&branch=main)](https://github.com/vb64/planet_tracks/actions?query=workflow%3A%22tests%22)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/3829500c25364fd6ba18ed025d0f1be5)](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)
[![Codacy Badge](https://app.codacy.com/project/badge/Coverage/3829500c25364fd6ba18ed025d0f1be5)](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.