-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2ab94f0
commit 753e24c
Showing
1 changed file
with
27 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,56 @@ | ||
# METIS Pipeline | ||
METIS pipe line is the data reduction software for ELT early science instrument of Mid-IR imager and spectrograph. | ||
|
||
## Manual Installation | ||
|
||
See the `README.md` in the `metisp` directory for manual installation of the pipeline. | ||
|
||
## Installation via Docker | ||
|
||
Follow the installation instructions for [Docker Engine](https://docs.docker.com/engine/install/) | ||
|
||
|
||
Clone the git repo | ||
|
||
> git clone https://github.com/AstarVienna/METIS_Pipeline.git | ||
``` | ||
git clone https://github.com/AstarVienna/METIS_Pipeline.git | ||
``` | ||
|
||
Build the image | ||
|
||
> docker build -t metispipeline . | ||
``` | ||
docker build -t metispipeline . | ||
``` | ||
|
||
Run the image | ||
|
||
|
||
> docker run -ti --net=host --env="DISPLAY" --volume="\$HOME/.Xauthority:/home/metis/.Xauthority:rw" --mount type=bind,source="\$(pwd)",target=/home/metis/METIS_Pipeline metispipeline | ||
``` | ||
docker run -ti --net=host --env="DISPLAY" --volume="$HOME/.Xauthority:/home/metis/.Xauthority:rw" --mount type=bind,source="$(pwd)",target=/home/metis/METIS_Pipeline metispipeline | ||
``` | ||
|
||
|
||
List all images and containers | ||
|
||
> docker image list | ||
> docker container list | ||
``` | ||
docker image list | ||
docker container list | ||
``` | ||
|
||
Delete image or container | ||
|
||
> docker container rm \<nameofcontainer\> | ||
> docker image rm metispipeline | ||
``` | ||
docker container rm <nameofcontainer> | ||
docker image rm metispipeline | ||
``` | ||
|
||
## Running the pipeline | ||
|
||
While inside the docker image | ||
|
||
> pyesorex --recipes | ||
> pyesorex metis_det_lingain "\${SOF_DIR}/metis_lm_lingain.sof" | ||
> edps -w metis.metis_lm_img_wkf -i \$SOF_DATA -c | ||
> edps -w metis.metis_lm_img_wkf -i \$SOF_DATA | ||
``` | ||
pyesorex --recipes | ||
pyesorex metis_det_lingain "${SOF_DIR}/metis_lm_lingain.sof" | ||
edps -w metis.metis_lm_img_wkf -i $SOF_DATA -c | ||
edps -w metis.metis_lm_img_wkf -i $SOF_DATA | ||
``` | ||
|