Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
resolve
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ift
resolve
Commits
ae7148a6
Commit
ae7148a6
authored
4 years ago
by
Philipp Arras
Browse files
Options
Downloads
Patches
Plain Diff
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 years ago
Stage: build_docker
Stage: testing
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
misc/Dockerfile
+3
-2
3 additions, 2 deletions
misc/Dockerfile
misc/README.org
+14
-0
14 additions, 0 deletions
misc/README.org
with
17 additions
and
2 deletions
misc/Dockerfile
+
3
−
2
View file @
ae7148a6
...
...
@@ -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"]
This diff is collapsed.
Click to expand it.
misc/README.org
0 → 100644
+
14
−
0
View file @
ae7148a6
* 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.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment