Skip to content
Snippets Groups Projects
Commit e2f4dffc authored by David Hoese's avatar David Hoese
Browse files

Fix mapcache_timedb json handling and fix tests

parent c61a0314
No related branches found
No related tags found
No related merge requests found
......@@ -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}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment