Skip to content

Commit

Permalink
Activate virtual environment
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrienWehrle authored Apr 14, 2021
1 parent 4e61e87 commit 60f7ef3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion S3_NRT.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ export PATH=/path/to/snap/bin:${PATH}
# activate SICE anaconda virtual environment
. /path/to/anaconda/envs/SICE/bin/activate

source /path/to/anaconda/etc/profile.d/conda.sh
conda activate SICE

set -o errexit
set -o nounset
set -o pipefail
Expand Down Expand Up @@ -53,7 +56,7 @@ for region in "${regions[@]}"; do
-f ${region} -u <user> -p <password>

# SNAP: Reproject, calculate reflectance, extract bands, etc.
./S3_proc.sh -i ${SEN3_source}/${year}/${date} -o ${proc_root}/${date} -X S3.xml -t
./S3_proc.sh -i ${SEN3_source}/${year}/${date} -o ${proc_root}/${date} -X S3_fast.xml -t

# Run the Simple Cloud Detection Algorithm (SCDA)
python ./SCDA.py ${proc_root}/${date}
Expand Down

0 comments on commit 60f7ef3

Please sign in to comment.