From e2f4dffc913c7e9813b47b7e903a9cd753c1926d Mon Sep 17 00:00:00 2001
From: David Hoese <david.hoese@ssec.wisc.edu>
Date: Tue, 11 Feb 2020 20:45:09 -0600
Subject: [PATCH] Fix mapcache_timedb json handling and fix tests

---
 tile_gen/run.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tile_gen/run.sh b/tile_gen/run.sh
index 99c7739..7501bea 100755
--- a/tile_gen/run.sh
+++ b/tile_gen/run.sh
@@ -73,6 +73,7 @@ run_tile_gen() {
         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}"
+        echo -e "[[\"$amqpsend_topic\", $json_info]]"
         echo -e "[[\"$amqpsend_topic\", $json_info]]" | python3 /work/amqpfind/amqpsend.py ${AMQPSEND_ARGS}
     done
     echo "Done generating tiles for ${path}"
-- 
GitLab