File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 250250exit_code=$?
251251
252252if [ $exit_code -eq 100 ]; then
253- echo " Success (100): Early exit, products already exist for all bursts."
253+ echo " Success (100): Early exit, products already exist for all bursts. Product: $product . Scene: $scene . "
254254 exit 0 # Graceful exit with success code 0
255255fi
256256if [ $exit_code -eq 101 ]; then
257- echo " Process failed (101): Static Layers are missing."
257+ echo " Process failed (101): Required Static Layers are missing. Product: $product . Scene: $scene ."
258258 exit 101
259259fi
260260if [ $exit_code -ne 0 ]; then
261- echo " Process failed (1): get-data-for-scene-and-make-run-config"
261+ echo " Process failed (1): Error in get-data-for-scene-and-make-run-config process. Product: $product . Scene: $scene . "
262262 exit 1
263263fi
264264
@@ -268,7 +268,7 @@ conda activate RTC
268268rtc_s1.py $RUN_CONFIG_PATH
269269
270270if [ $? -ne 0 ]; then
271- echo " Process failed (2): rtc_s1.py $RUN_CONFIG_PATH "
271+ echo " Process failed (2): Error in rtc_s1.py $RUN_CONFIG_PATH process. Product: $product . Scene: $scene . "
272272 exit 2
273273fi
274274
310310exit_code=$?
311311
312312if [ $exit_code -ne 0 ]; then
313- echo " Process failed (3): make-rtc-opera-stac-and-upload-bursts"
313+ echo " Process failed (3): Error in make-rtc-opera-stac-and-upload-bursts process. Product: $product . Scene: $scene . "
314314 exit 3
315315else
316- echo " Success (0): required burst products created! "
316+ echo " Success (0): Required burst products have been created. Product: $product . Scene: $scene . "
317317 exit 0
318318fi
You can’t perform that action at this time.
0 commit comments