Installation

SNAP

S1_NRB requires ESA’s Sentinels Application Platform (SNAP) software for SAR data processing. Version 1.0.0 has been developed based on SNAP 8. SNAP 9 is supported since version 1.0.2. Downloaders for different operating systems can be obtained from the official webpage.

The following code can be used to replicate the software installation on a Linux OS:

VERSION=9
TARGET=~/SNAP"$VERSION"

INSTALLER=esa-snap_sentinel_unix_"$VERSION"_0_0.sh
wget https://download.esa.int/step/snap/"$VERSION".0/installers/"$INSTALLER"
bash $INSTALLER -q -dir $TARGET
$TARGET/bin/snap --nosplash --nogui --modules --update-all

# add SNAP location to the PATH environment variable in the .bashrc file
echo PATH=$PATH:$TARGET/snap/bin >> ~/.bashrc

See also the web page on how to update SNAP from the command line.

Alternatively, updates for individual modules and versions can be downloaded in the SNAP Update Center. The latest bundle that was used during release of version 1.0.0 is available here: https://step.esa.int/updatecenter/8.0_20220323-143356/.

S1_NRB

The S1_NRB package is not yet available via conda-forge or other common package distribution channels. For now, the following shall provide a convenient installation option provided that Anaconda or Miniconda has been installed.

Latest State on Github

  1. Create and then activate the conda environment

conda env create --file https://raw.githubusercontent.com/SAR-ARD/S1_NRB/main/environment.yaml
conda activate nrb_env
  1. Install the S1_NRB package into the environment

pip install git+https://github.com/SAR-ARD/S1_NRB.git

Specific Version

The package version can be changed as necessary. See the Tags section of the repository for available versions.

conda env create --file https://raw.githubusercontent.com/SAR-ARD/S1_NRB/v1.0.0/environment.yaml
conda activate nrb_env
pip install git+https://github.com/SAR-ARD/S1_NRB.git@v1.0.0

Docker

Both SNAP and S1_NRB can also be installed into a docker container using the Dockerfile that is provided with the package.