Skip to content

Pipeline-only Installation

The pipeline-only build runs the MOBI-DIC processing from the command line, without QGIS. It is meant for servers, clusters and automated workflows, where no graphical interface is available. If you work on a desktop, the QGIS plugin installation is the easier route.

Before you start

Operating system Windows x86_64, macOS (Intel or Apple Silicon), Linux x86_64

pixi Creates the Python environment, installed in step 1 below (pixi.sh)

Disk space About 1.3 GB

Internet Once, to download the Python environment

The RAM guidance on Get started applies here as well.

How to obtain the pipeline-only build

The pipeline-only build is released on the same terms as the plugin: sign the Research EULA (PDF), send it to mobi-dic@slf.ch and mention that you need the pipeline-only build. We send it to you together with the countersigned copy. See License & conditions for the terms.

Installation

  1. Install pixi

    pixi is the package manager that creates the Python environment. No admin rights are needed. Open a new terminal afterwards so that pixi is found.

    curl -fsSL https://pixi.sh/install.sh | sh
    
    iwr -useb https://pixi.sh/install.ps1 | iex
    
  2. Unzip the package

    unzip mobi-dic_v1.x.x_full_pipeline_expires-YYYY-MM-DD.zip
    cd mobi-dic_v1.x.x_full_pipeline_expires-YYYY-MM-DD
    

    The file name of your package contains the version and the expiry date of the licence, for example mobi-dic_v1.2.3_full_pipeline_expires-2026-12-31.zip.

  3. Install the Python environment

    pixi install
    

    This creates a self-contained environment in the .pixi/ folder. All packages are pinned by the bundled pixi.lock, so you do not manage any dependencies yourself.

Run the pipeline

  1. Edit the configuration file

    The config files are in slf-dic-python/. Open the one for your data type and set the io section to your input files and output directory.

    nano slf-dic-python/config_dic4dem.yml
    

    See the Configuration Reference for all parameters.

  2. Run it

    Choose the command for your data type:

    cd slf-dic-python
    pixi run python run_dic4dem_processing.py --config config_dic4dem.yml
    
    cd slf-dic-python
    pixi run python run_dic4optical_processing.py --config config_dic4optical.yml
    

    Camera mode (non-georeferenced images) is only in the full build.

    cd slf-dic-python
    pixi run python run_dic4webcam_processing.py --config config_dic4webcam.yml
    

For the command line in more detail, see the CLI documentation.

Using conda or mamba instead of pixi

If your server already has Conda or Mamba and you prefer not to install pixi, create the environment manually:

mamba create -n mobi-dic python=3.12 numpy scipy pandas geopandas rasterio \
  pyproj shapely gdal affine pillow scikit-image h5py pyyaml requests \
  tqdm joblib psutil matplotlib
conda activate mobi-dic
cd slf-dic-python
python run_dic4dem_processing.py --config config_dic4dem.yml

Licensed builds

Pipeline-only builds with an embedded expiry date stop running after the date shown in VERSION.txt. Contact mobi-dic@slf.ch to request a renewal build.