Skip to content

Commit 60f7ef3

Browse files
authored
Activate virtual environment
1 parent 4e61e87 commit 60f7ef3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

S3_NRT.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ export PATH=/path/to/snap/bin:${PATH}
1212
# activate SICE anaconda virtual environment
1313
. /path/to/anaconda/envs/SICE/bin/activate
1414

15+
source /path/to/anaconda/etc/profile.d/conda.sh
16+
conda activate SICE
17+
1518
set -o errexit
1619
set -o nounset
1720
set -o pipefail
@@ -53,7 +56,7 @@ for region in "${regions[@]}"; do
5356
-f ${region} -u <user> -p <password>
5457

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

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

0 commit comments

Comments
 (0)