File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ if [[ $2 == "--dryrun" || $2 == "-d" ]]; then
3434fi
3535
3636RELEASE_VERSION=" 2.0.0"
37+ processing_mode=" "
3738
3839for 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
7578done
You can’t perform that action at this time.
0 commit comments