Planet tracks
Console app for calculating Sun, Moon, etc coordinates for given point at the Earth with skyfield library.
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.