diff --git a/tile_gen/run.sh b/tile_gen/run.sh index 2b27502fd53a8c67ca81deeb6c63ea304dd521c6..6ba9317b7cc37c009d141c6e3e1225998863fee7 100755 --- a/tile_gen/run.sh +++ b/tile_gen/run.sh @@ -33,7 +33,7 @@ run_tile_gen() { instrument=${3,,} data_type=${4,,} path="$5" - echo "Starting Geo2Grid processing for ${path}" + echo "Starting tile generation processing for ${path}" # convert path from a relative path to an absolute path path="/data/${path}" @@ -50,7 +50,7 @@ run_tile_gen() { # generate_tiles.py will make a temporary directory 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 + if [[ ${TILE_ARGS} == *"--remap"* ]]; then out_dir="${out_dir}_ll" fi mkdir -p ${out_dir}