Next: Step-by-step usage
Up: OSA through Docker
Previous: General installation of OSA
Recommended method
We provide a script to wrap commands around docker to run OSA, this is available at
https://gitlab.astro.unige.ch/savchenk/osa-docker/blob/master/osa-docker.shNote that his is part of a public git repository that you can download as
- git clone https://gitlab.astro.unige.ch/savchenk/osa-docker.git
In the osa_docker.sh script, you can define the local data location and the local archive location (they can be the same) by setting the environmental variables
- export CURRENT_IC=/isdc/arc/rev_3
- export REP_BASE_PROD=/isdc/arc/rev_3/
Note that symlinks will not work as the filesystem in docker is different from the parent one.
Then, you can create the science window list in your local directory and OSA as, for example
- ./osa-docker.sh "og_create scw.list IBIS test ./"
- ./osa-docker.sh "cd obs/test;ibis_science_analysis
The graphical interface in the script needs to be adapted to your platform (Linux or Mac OS-X), by setting the display
variable for Mac OS-X while executing the script as (in bash):
- DISPLAY=$ip:0 ./osa-docker.sh "cd obs/test; ibis_science_analysis"
(you might need $ip:1 or higher on some Mac OS-X)
This script will take care of the docker setup steps described below.
Next: Step-by-step usage
Up: OSA through Docker
Previous: General installation of OSA
inthelp@sciops.esa.int