Skip to content

polSALT docker installation instructions (RECOMMENDED):

Danièl Groenewald edited this page Mar 13, 2024 · 6 revisions

The beta version of polsalt (currently available on github) and pySALT version 0.5 have been installed on this docker.

Installation on Ubuntu:

  • In a terminal, type sudo apt update
  • Install the Docker container using sudo apt install docker.io
  • Create a folder where the SALT FITS files will be placed: mkdir /home/<username>/fits
  • Copy the FITS files you want to reduce to this folder.
  • Run the Docker container using the command: sudo bash polsalt-run.sh
    • Download the polsalt-run.sh here
  • Once in the Docker container, you will find the polsalt directory, and this is where the software is installed.
  • Run the following command: cp /polsalt/scripts/reducepoldata_sc.py /polsalt/scripts/personal/reducepoldata_sc.py
    • Important note: The reducepoldata_sc.py script is the main reduction script of the software and users sometimes need to edit this script. With the above command the user creates a copy of this file and can edit it in a separate folder (/polsalt/scripts/personal/). Your own code can also be placed here.
  • To run the polSALT software on your data, use the following: python polsalt/scripts/personal/reducepoldata_sc.py /pysalt/YYYYMMDD
    • Note that /pysalt in the above command is a symbolic link pointing the docker to the user's data folder.

Installation on Mac:

Not yet available. The docker for this OS is still being developed.