From 5ba750b41de373cb314c7958fc2c69e58d49d1be Mon Sep 17 00:00:00 2001
From: David Hoese <david.hoese@ssec.wisc.edu>
Date: Fri, 13 Mar 2020 15:51:22 -0500
Subject: [PATCH] Add cspp_geo_grb_notify container

---
 tile_gen/run.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tile_gen/run.sh b/tile_gen/run.sh
index 7501bea..fa27094 100755
--- a/tile_gen/run.sh
+++ b/tile_gen/run.sh
@@ -17,7 +17,7 @@ test -d "/data"
 
 export AMQPFIND_ARGS=${AMQPFIND_ARGS:-"-H cspp-geo-rabbit -X satellite -u guest -p guest"}
 export AMQPSEND_ARGS=${AMQPSEND_ARGS:-"-D 15 -H cspp-geo-rabbit -X satellite -u guest -p guest"}
-export AMQPFIND_TOPIC=${AMQPFIND_TOPIC:-'data.goes.*.abi.*.l1b.geotiff.complete'}
+export AMQPFIND_TOPIC=${AMQPFIND_TOPIC:-'data.goes.*.abi.*.l1b.geotiff.all.complete'}
 export G2G_PRODUCTS=${G2G_PRODUCTS:-"C01 C02 C03 C04 C05 C06 C07 C08 C09 C10 C11 C12 C13 C14 C15 C16 true_color"}
 export TILE_ARGS=${TILE_ARGS:-""}
 export TMPDIR=${TMPDIR:-"/dst/tmp"}
@@ -69,7 +69,7 @@ run_tile_gen() {
         # Remove the /data prefix
         glob_pattern="${glob_pattern/${dst_dir}\//}"
 
-        amqpsend_topic="data.${satellite_family}.${satellite_id}.${instrument}.${data_type}.l1b.tiles.${product}.complete"
+        amqpsend_topic="data.${satellite_family}.${satellite_id}.${instrument}.${data_type}.l1b.tiles.${product,,}.complete"
         json_info="{\"path\": \"${glob_pattern}\", \"satellite_family\": \"${satellite_family}\", \"satellite_ID\": \"${satellite_id}\", \"instrument\": \"${instrument}\", \"data_type\": \"${data_type}\", \"product\": \"${product}\"}"
         # append the JSON returned by the python (remove the curly braces at the ends)
         json_info="${json_info:0:-1}, ${json_times_changed:1}"
-- 
GitLab