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

Add more log messages for debugging to tile generation

parent 83939d5e
No related branches found
No related tags found
No related merge requests found
......@@ -51,11 +51,13 @@ run_tile_gen() {
out_dir="${dst_dir}/tiles/${satellite_id}/${instrument}/${data_type}"
# if we are going to remap, separate the geotiffs and shapefile from unremapped
if [[ ${TILE_ARGS} == *"--remap"* ]]; then
echo "Adding '_ll' prefix to tile output directory because of remapping"
out_dir="${out_dir}_ll"
fi
mkdir -p ${out_dir}
# add string formatting portion to separate add 'product' sub-directory
out_dir="${out_dir}/{product}"
echo "Generating tiles in directory: ${out_dir}"
python3 generate_tiles.py ${TILE_ARGS} -p ${G2G_PRODUCTS} -- ${out_dir} ${path}
# OUT/<product>/<product>.shp
glob_pattern="${out_dir}/*/*.shp"
......
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