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

Fix tile generation check for remapping flag

parent 5f4fc15c
No related branches found
No related tags found
No related merge requests found
...@@ -33,7 +33,7 @@ run_tile_gen() { ...@@ -33,7 +33,7 @@ run_tile_gen() {
instrument=${3,,} instrument=${3,,}
data_type=${4,,} data_type=${4,,}
path="$5" 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 # convert path from a relative path to an absolute path
path="/data/${path}" path="/data/${path}"
...@@ -50,7 +50,7 @@ run_tile_gen() { ...@@ -50,7 +50,7 @@ run_tile_gen() {
# generate_tiles.py will make a temporary directory # generate_tiles.py will make a temporary directory
out_dir="${dst_dir}/tiles/${satellite_id}/${instrument}/${data_type}" out_dir="${dst_dir}/tiles/${satellite_id}/${instrument}/${data_type}"
# if we are going to remap, separate the geotiffs and shapefile from unremapped # 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" out_dir="${out_dir}_ll"
fi fi
mkdir -p ${out_dir} mkdir -p ${out_dir}
......
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