Commit 808ab70a authored by Daniel Scheffler's avatar Daniel Scheffler Committed by Mathias Peters
Browse files

fixed a wrong log message in case no spatial reference scene could be found

parent 40cb3727
......@@ -666,8 +666,13 @@ class L1B_object(L1A_object):
[self.logger.error('ERROR during coregistration of scene %s (entity ID %s):\n%s'
%(self.scene_ID,self.entity_ID,err)) for err in COREG_obj.tracked_errors]
else:
self.logger.info('Coregistration of scene %s (entity ID %s) skipped because target dataset ID equals '
'reference dataset ID.' %(self.scene_ID, self.entity_ID))
if self.coreg_needed:
self.logger.info('Coregistration skipped because no suitable reference scene is available or '
'spatial query failed.')
else:
self.logger.info('Coregistration of scene %s (entity ID %s) skipped because target dataset ID equals '
'reference dataset ID.' %(self.scene_ID, self.entity_ID))
self.coreg_info.update({'corrected_shifts_px' : {'x':0, 'y':0 }})
self.coreg_info.update({'corrected_shifts_map' : {'x':0, 'y':0 }})
self.coreg_info.update({'original map info' : self.meta['map info']})
......
......@@ -45,10 +45,10 @@ if isdebugging: #override the existing settings in order to get write access eve
#builtins.GMS_process_ID = 26185253 # 25x L8, Zielsensor L8, spat.ref L8
#builtins.GMS_process_ID = 26185254 # 10x L8, Zielsensor L8, spat.ref L8
#builtins.GMS_process_ID = 26185255 # 1x L8 Bug 5 corners found -> Grund=Schreibfehler L1A im tiled Python-mode bei mehr als 1 Szene im Job
#builtins.GMS_process_ID = 26185256 # 1x L7 SLC off, Zielsensor L8, spat.ref L8
builtins.GMS_process_ID = 26185256 # 1x L7 SLC off, Zielsensor L8, spat.ref L8
#builtins.GMS_process_ID = 26185257 # Beta-Job - 219 x L8, 172 x L7, 111 x S2, spatref L8
#builtins.GMS_process_ID = 26185258 # Beta-Job - 219 x L8, spatref L8
builtins.GMS_process_ID = 26185259 # Beta-Job - 172 x L7, spatref L8
#builtins.GMS_process_ID = 26185259 # Beta-Job - 172 x L7, spatref L8
#builtins.GMS_process_ID = 26185260 # Beta-Job - 111 x S2, spatref L8
#builtins.GMS_process_ID = 26185268 # 25x L7 SLC off, Zielsensor L8, spat.ref L8
#builtins.GMS_process_ID = 26185269 # 1x L7 SLC off, Bug SpatialIndexMediator
......@@ -71,7 +71,7 @@ assert parallelization_level in ['scenes', 'tiles']
CPUs= job.CPUs
#job.path_procdata_scenes = '/data1/gms/mount/db/data/processed_scenes_dev/'
#job.path_procdata_MGRS = '/data1/gms/mount/db/data/processed_mgrs_tiles_dev/'
job.path_procdata_MGRS = '/data1/gms/mount/db/data/processed_mgrs_tiles_dev/'
t1 = time.time()
if job.profiling:
......
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