1
0
Fork 0
mirror of https://github.com/noerw/sentinel_fire synced 2025-03-12 18:00:28 +01:00
sentinel2_pipeline/bin/s2_preprocess
2019-01-31 12:29:51 +01:00

14 lines
290 B
Bash
Executable file

#!/bin/bash
set -e
set -o pipefail
SCRIPTDIR=${BASH_SOURCE%/*}
sen2cor_bin="$SCRIPTDIR/sen2cor/bin/L2A_Process"
# first and only argument is the path to a .SAFE directory containing a sentinel tile
safe_input_dir=$1
if [[ ! -z $safe_input_dir ]]; then
$sen2cor_bin $safe_input_dir
fi