Commit 2dbcc9a2 authored by Gaetano Raffaele's avatar Gaetano Raffaele

FIX: Correct tile id search on generic THEIA filenames.

parent de0056ad
Pipeline #3704 failed 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][1:]
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