Skip to content
Snippets Groups Projects
Commit ae7148a6 authored by Philipp Arras's avatar Philipp Arras
Browse files

Some notes on compressing measurement sets with Docker

parent 62424919
No related branches found
No related tags found
No related merge requests found
Pipeline #87374 passed
......@@ -4,5 +4,6 @@ RUN docker-apt-install dysco python3-casacore
RUN apt-get update -qq && apt-get install -qq python3-pip python3-matplotlib git
RUN pip3 install scipy pybind11 git+https://gitlab.mpcdf.mpg.de/ift/nifty.git@NIFTy_7
RUN pip3 install git+https://gitlab.mpcdf.mpg.de/mtr/ducc.git@ducc0
RUN pip3 install git+https://gitlab.mpcdf.mpg.de/ift/resolve.git
RUN mkdir /work
COPY . /resolve
RUN cd resolve && python3 setup.py install
ENTRYPOINT ["python3", "resolve/misc/ms_compress.py"]
* How to convert a measurement set to a npz file with Docker
Assume that the measurement set folder is located at
`/data/<ms-folder>`. Then the following commands create the npz-files
`/data/<outputname>field<i>.npz` from it.
#+BEGIN_SRC sh
docker build -f misc/Dockerfile -t <tag> .
docker run -v /data:/mnt <tag> mnt/<ms-folder> mnt/<outputname>
#+END_SRC
Note that the first command needs to be run from the project root of
resolve. It installs the current checked out version of resolve into
the Docker container.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment