Installation
conda install
conda create -n cdsodataclienv
conda activate cdsodataclienv
conda install -c conda-forge cdsodatacli
Note
this is also working the same for mamba or micromamba
docker image building
A dockerfile is provided to build an image with cdsodatacli installed. To build the image, run the following command in the root directory of the repository:
docker build -f Dockerfile . -t cdsodatacli:latest
This will create a docker image named cdsodatacli:latest with cdsodatacli installed. You can then run a container from this image using the following command:
docker run -i -t --rm cdsodatacli:latest /bin/bash
# or to run directly a command
docker run -i -t --rm cdsodatacli:latest downloadFromCDS -h
Update cdsodatacli to the latest version
To be up to date with the development team, it’s recommended to update the installation using pip:
pip install git+https://github.com/umr-lops/cdsodatacli.git
or
git clone https://github.com/umr-lops/cdsodatacli.git
cd cdsodatacli
pip install -e .