Commit bd2a3bea authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Changed log message. Added test job 26187760.

parent 8afc05c8
...@@ -1186,15 +1186,16 @@ class GMS_object(Dataset): ...@@ -1186,15 +1186,16 @@ class GMS_object(Dataset):
progress=CFG.log_level in ['DEBUG', 10], progress=CFG.log_level in ['DEBUG', 10],
v=v) v=v)
MGRS_tileID = GDF_row['granuleid']
# validate that the MGRS tile truly contains data # validate that the MGRS tile truly contains data
# -> this may not be the case if get_overlapping_MGRS_tiles() yielded invalid tiles due to inaccurate # -> this may not be the case if get_overlapping_MGRS_tiles() yielded invalid tiles due to inaccurate
# self.trueDataCornerLonLat # self.trueDataCornerLonLat
if True not in list(np.unique(tileObj.arr.mask_nodata)): if True not in list(np.unique(tileObj.arr.mask_nodata)):
self.logger.info("MGRS tile '%s' has not been skipped because it contains only no data values.") self.logger.info("MGRS tile '%s' has not been skipped because it contains only no data values."
% MGRS_tileID)
continue continue
MGRS_tileID = GDF_row['granuleid']
# set MGRS info # set MGRS info
tileObj.arr_shape = 'MGRS_tile' tileObj.arr_shape = 'MGRS_tile'
tileObj.MGRS_info = {'tile_ID': MGRS_tileID, 'grid1mil': MGRS_tileID[:3], 'grid100k': MGRS_tileID[3:]} tileObj.MGRS_info = {'tile_ID': MGRS_tileID, 'grid1mil': MGRS_tileID[:3], 'grid100k': MGRS_tileID[3:]}
......
...@@ -511,10 +511,14 @@ class Test_in_normal_mode(unittest.TestCase): ...@@ -511,10 +511,14 @@ class Test_in_normal_mode(unittest.TestCase):
# self.job_id = 26187051 # GMS41: 1 Landsat, FileNotFoundError # self.job_id = 26187051 # GMS41: 1 Landsat, FileNotFoundError
# self.job_id = 26187052 # GMS41: 1 Landsat, DB query returns no DEM # self.job_id = 26187052 # GMS41: 1 Landsat, DB query returns no DEM
# self.job_id = 26187053 # GMS41: AC: The input 'list_GMS_objs' contains duplicates: ['', ''] # self.job_id = 26187053 # GMS41: AC: The input 'list_GMS_objs' contains duplicates: ['', '']
self.job_id = 26187750 # GEOMS: [AC]: RuntimeWarning: All-NaN slice encountered # self.job_id = 26187750 # GEOMS: [AC]: RuntimeWarning: All-NaN slice encountered
self.job_id = 26187760 # GEOMS: [L2C]: ValueError: 'axis' entry is out of bounds
self.PC = process_controller(self.job_id, **dict(is_test=False, parallelization_level='scenes', db_host=db_host, self.PC = process_controller(self.job_id, **dict(is_test=False, parallelization_level='scenes', db_host=db_host,
delete_old_output=True, disable_exception_handler=True)) delete_old_output=True, disable_exception_handler=True))
self.PC.config.spathomo_estimate_accuracy = True
self.PC.config.ac_estimate_accuracy = True # FIXME
self.PC.config.spechomo_estimate_accuracy = True # FIXME
def test(self): def test(self):
self.PC.run_all_processors() self.PC.run_all_processors()
......
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