Skip to content

Commit b33d29c

Browse files
authored
Use reprocessing mode when submitting SLC download jobs
1 parent bd2c36d commit b33d29c

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

trigger_from_list.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ if [[ $2 == "--dryrun" || $2 == "-d" ]]; then
3434
fi
3535

3636
RELEASE_VERSION="2.0.0"
37+
processing_mode=""
3738

3839
for granule in $( cat $LIST ); do
3940

@@ -53,11 +54,13 @@ for granule in $( cat $LIST ); do
5354
## SLC PROCESSING
5455
elif [[ ${granule:0:3} == "S1A" ]]; then
5556
collection="SENTINEL-1A_SLC"
57+
processing_mode="--processing-mode=reprocessing"
5658
job_queue="opera-job_worker-slc_data_download"
5759
granule+="*"
5860

5961
elif [[ ${granule:0:3} == "S1B" ]]; then
6062
collection="SENTINEL-1B_SLC"
63+
processing_mode="--processing-mode=reprocessing"
6164
job_queue="opera-job_worker-slc_data_download"
6265
granule+="*"
6366

@@ -67,9 +70,9 @@ for granule in $( cat $LIST ); do
6770

6871

6972
if $DRYRUN; then
70-
echo "~/mozart/ops/opera-pcm/data_subscriber/daac_data_subscriber.py query -c $collection --release-version=$RELEASE_VERSION --job-queue=$job_queue --chunk-size=1 --native-id=$granule"
73+
echo "~/mozart/ops/opera-pcm/data_subscriber/daac_data_subscriber.py query -c $collection $processing_mode --release-version=$RELEASE_VERSION --job-queue=$job_queue --chunk-size=1 --native-id=$granule"
7174
else
72-
~/mozart/ops/opera-pcm/data_subscriber/daac_data_subscriber.py query -c $collection --release-version=$RELEASE_VERSION --job-queue=$job_queue --chunk-size=1 --native-id=$granule
75+
~/mozart/ops/opera-pcm/data_subscriber/daac_data_subscriber.py query -c $collection $processing_mode --release-version=$RELEASE_VERSION --job-queue=$job_queue --chunk-size=1 --native-id=$granule
7376
fi
7477

7578
done

0 commit comments

Comments
 (0)