Commit 0b4bc102 authored by Gaetano Raffaele's avatar Gaetano Raffaele
Browse files

FIX: Correct tile id search on generic THEIA filenames.

parent 1ad61756
Pipeline #3698 canceled with stages
......@@ -79,7 +79,7 @@ def prepare(argv):
src_dir = args[0]
tile_date = os.path.basename(src_dir)[11:19]
tile_id = os.path.basename(src_dir)[36:41]
tile_id = os.path.basename(src_dir).split('_')[3]
if os.environ.get('GDAL_DATA') == None:
sys.exit('Please set GDAL_DATA environment variable!')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment