Download and install latest version of Python here.
Follow these instructions to get the latest version of pip.
~$ git clone https://github.com/allenerocha/pysky.git && cd pysky/pysky/$ pip install .
~$ pip uninstall pysky -y
~$ pysky -sd [start date] -st [start time] -ed [end date] -et [end time] -t [thread count] -v [verbosity level]
Options (Dates and times are in ISO 8601 format)
-sd/--startdate |
Starting date. [1] |
-st/--starttime |
Starting time. [1] |
-ed/--enddate |
Ending date. [2] |
-et/--endtime |
Ending time. [2] |
-t/--threads |
Number of threads to use. [2] |
-v/--verbosity |
Verbosity level. [2] |
-h/--help |
Display help for the CL options. |
[1] | (1, 2) Required. |
[2] | (1, 2, 3, 4) Optional. |
YEAR |
4 digit format |
MONTH |
2 digit format |
DAY |
2 digit format |
HOUR |
24 hour format (0-23) |
MINUTE |
Minute in regular format (0-59) |
Specifying no end date and time defaults the search to only go for one hour long.
~$ pysky -h
~$ pysky --help
By default images of valid objects will be saved in the filename format:
$HOME/PySkySlideshow/object-width-height-resolution-scaling.png
To change the location of the saved images, you can add the following line to the user_prefs.cfg
file:
slideshow_dir=
Followed by the directory to save in. The folder PySkySlideshow will be created in the specified directory.
slideshow_dir=/home/allen
This will set the directory to save the images as:
slideshow_dir=/home/allen/PySkySlideshow/
$ pysky -sd 2012-07-10 -st 17:00 -ed 2012-07-10 -et 23:00
$ pysky -sd 2015-12-31 -st 08:00 -ed 2016-01-01 -et 02:00 -v 5
$ pysky -sd 2019-09-01 -st 17:00 -t 2 -v 3
Python 3.6+