Docker¶
CDO/NCO/NCL¶
There is a cdo-related docker image on the docker hub. For running it, you only need to have docker installed and the image loaded with
docker pull try2cdo/ubuntu_cdo
Now you can start the image with your home directory mounted into the running image under
/${USER}
docker run -v ${HOME}:/${USER} -it try2cdo/ubuntu_cdo /bin/bash
After a successful start, you should switch to the user
me
with su - me
For that user the image contains nco, ncl, Miniconda3 and the latest release of cdo. It is based on ubuntu-16.04 LTS.
Conda¶
another option is using conda through docker. The conda-forge group offers a prebuild linux environment ready for working with conda: https://hub.docker.com/r/condaforge/linux-anvil
- download the image with:
docker pull condaforge/linux-anvil
- run it with your home-dir mapped to
/$USER
within the image:docker run -v ${HOME}:/${USER} -it condaforge/linux-anvil /bin/bash
- once started, install cdo with conda with
conda install cdo