Installation

../_images/adult_install.jpeg

SET is still in its early stages of development and does not yet offer a double-click installer. As a result, running the program requires you to setup the development environment, which can be tricky for those not familiar with programming in the command line. We’ve tried to be as descriptive as possible in our installation guide for our users. This step-by-step guide should be enough to setup the program correctly, but if you have any questions or trouble installing, feel free to ask for help from the support page and describe your issue to us.

Windows

  1. Download Anaconda - Python 2.7 version

Warning

When installing Anaconda, you must change Advanced Options to add Anaconda to your PATH. Disregard the “Not recommended” warning and check the “Add Anaconda to my PATH environment variable” option.

  1. Download Git

  2. Open Anaconda Prompt and clone the SET repository:

    git clone <SET repository link> skyglow
    
../_images/install_git_clone.PNG

Example of cloning the repository from Bitbucket, a web-based hosting service for Git similar to Github. SET’s repository link can be found on its Github page, under the green “Clone or download” button. Your link will be unique to your account.

  1. Switch into skyglow and install the geospatial environment, which contains all the necessary packages:

    cd skyglow
    conda env create -f geospatial.yml
    
  2. Activate the environment (must be done every time you open the prompt):

    activate geospatial
    
  3. Run the program:

    python Skyglow.py
    

Note

The software is currently not available for macOS, and it has not been tested on Linux.

Required Packages

The following dependencies are needed for the program to run properly. If creating the environment from the geospatial.yml file does not work, you may need to isntall the following packages manually. For help with installation, check the FAQ or contact the developers on the support page.

  • anaconda
  • numpy via conda install numpy
  • GDAL via conda install gdal
  • matplotlib via conda install matplotlib
  • matplotlib_scalebar via pip install matplotlib_scalebar
  • Pillow via conda install pillow
  • playsound via pip install playsound