diff --git a/tile_gen/run.sh b/tile_gen/run.sh index 6ba9317b7cc37c009d141c6e3e1225998863fee7..a0f987a7a62d241f4bb4bdc69cb322d01cc1e931 100755 --- a/tile_gen/run.sh +++ b/tile_gen/run.sh @@ -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"