Skip to content
Snippets Groups Projects
Commit fd8e04ea authored by Mattia Mancini's avatar Mattia Mancini
Browse files

Add README

parent f9ed89b9
No related branches found
No related tags found
No related merge requests found
# Odissee Docker
Docker container recipe to run ska-sdp-low-selfcal (https://gitlab.com/ska-telescope/sdp/science-pipeline-workflows/ska-sdp-wflow-selfcal)
# Building
To build the image execute:
```
docker build -t [tagname] .
```
*Note*: the code is installed and compiled for the specific architecture of the machine that built the docker image. Therefore it might not run on different architectures.
# Executing the pipeline
Start the docker container with the command
```
docker --rm -it -u $UID:$GID [tagname] [-v /data/volume:/data/volume] /bin/bash
# within the interactive shell in the container
source /spack/share/spack/setup-env.sh &&\
spack env activate base
export EVERYBEAM_DATADIR=$(find /spack/opt/spack -name "everybeam-0.7.0*")/share/everybeam
```
And finally to run the pipeline use the following command:
```
export DP3=$(which DP3)
export WSCLEAN=$(which wsclean)
python /ska-sdp-wflow-selfcal/src/ska_sdp_wflow_selfcal/pipeline/main.py \
--dp3_path $DP3 \
--wsclean_cmd $WSCLEAN \
--restore_args "-j 14" \
--input_ms [path_to_input_ms] \
--work_dir $PWD \
--config /ska-sdp-wflow-selfcal/config/LOFAR.averaged.yml \
--run_single_operation False \
--ignore_version_errors True
```
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment