Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

  • f63b07d
  • /
  • config.yml
Raw File Download

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
content badge
swh:1:cnt:0e02a0eab93a818f9782d3b3301b3b902216d5d3
directory badge
swh:1:dir:f63b07d46b5c0a2940ec5d085490bab24489e6a2

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
  • directory
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
config.yml
version: 2.1
jobs:
  unit-n-workflow-tests:
    docker:
      - image: ubuntu:bionic
        environment:
          CONDA_PREFIX: /root/tools/miniconda3
          MINTPY_HOME: /root/tools/MintPy
        user: root
    working_directory: /root/tools/MintPy
    resource_class: large

    steps:
      - checkout
      - run:
          name: Setting Up Environment with Miniconda
          command: |
            apt update
            apt-get update --yes && apt-get upgrade --yes
            apt-get install --yes git wget
            # download and install miniconda3
            mkdir -p ${HOME}/tools
            cd ${HOME}/tools
            wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
            bash Miniconda3-latest-Linux-x86_64.sh -b -p ${HOME}/tools/miniconda3
            ${HOME}/tools/miniconda3/bin/conda init bash
            # add conda-forge channel and install mamba
            ${HOME}/tools/miniconda3/bin/conda config --add channels conda-forge
            #${HOME}/tools/miniconda3/bin/conda config --set channel_priority strict
            ${HOME}/tools/miniconda3/bin/conda install --yes mamba
            cat ${HOME}/.condarc
            # modify/export env var PATH to BASH_ENV to be shared across run steps
            echo 'export PATH=${CONDA_PREFIX}/bin:${PATH}' >> ${BASH_ENV}

      - run:
          name: Installing MintPy
          no_output_timeout: 30m
          command: |
            export PYTHONUNBUFFERED=1
            # install dependencies and source code
            source activate root
            mamba install --verbose --yes gdal">=3" --file ${MINTPY_HOME}/requirements.txt
            python -m pip install ${MINTPY_HOME}
            # test installation
            smallbaselineApp.py -v
            tropo_pyaps3.py -h
            solid_earth_tides.py -h

      - run:
          name: Unit Test
          command: |
            ${MINTPY_HOME}/tests/objects/euler_pole.py
            ${MINTPY_HOME}/tests/objects/ionex.py
            ${MINTPY_HOME}/tests/asc_desc2horz_vert.py
            ${MINTPY_HOME}/tests/dem_error.py

      - run:
          name: Workflow Test 1/4 - FernandinaSenDT128 (ISCE/topsStack)
          command: |
            mkdir -p ${HOME}/data
            ${MINTPY_HOME}/tests/smallbaselineApp.py --dir ${HOME}/data --dset FernandinaSenDT128

      - run:
          name: Workflow Test 2/4 - SanFranSenDT42 (ARIA)
          command: |
            mkdir -p ${HOME}/data
            ${MINTPY_HOME}/tests/smallbaselineApp.py --dir ${HOME}/data --dset SanFranSenDT42

      - run:
          name: Workflow Test 3/4 - WellsEnvD2T399 (Gamma)
          command: |
            mkdir -p ${HOME}/data
            ${MINTPY_HOME}/tests/smallbaselineApp.py --dir ${HOME}/data --dset WellsEnvD2T399

      - run:
          name: Workflow Test 4/4 - WCapeSenAT29 (SNAP)
          command: |
            mkdir -p ${HOME}/data
            ${MINTPY_HOME}/tests/smallbaselineApp.py --dir ${HOME}/data --dset WCapeSenAT29

workflows:
  version: 2
  unit-n-workflow-tests:
    jobs:
      - unit-n-workflow-tests

back to top

Software Heritage — Copyright (C) 2015–2025, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API