From 5d65f7863ff260fe4e4a0e47665c664da4374a47 Mon Sep 17 00:00:00 2001 From: Daniel Scheffler <danschef@gfz-potsdam.de> Date: Tue, 6 Feb 2024 23:33:56 +0100 Subject: [PATCH] Remove warning regarding holes in L2A output (fixed with new gdal implementation). Signed-off-by: Daniel Scheffler <danschef@gfz-potsdam.de> --- enpt/options/config.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/enpt/options/config.py b/enpt/options/config.py index 20b0562c..b9671cce 100644 --- a/enpt/options/config.py +++ b/enpt/options/config.py @@ -467,12 +467,6 @@ class EnPTConfig(object): self.target_coord_grid if self.target_coord_grid else \ enmap_coordinate_grid_utm if self.target_projection_type == 'UTM' else None - # bug warning regarding holes in bilinear resampling output - if self.target_projection_type == 'Geographic' and self.ortho_resampAlg == 'bilinear': - warnings.warn("There is currently a bug that causes holes in the bilinear resampling results if the " - "target projection is 'Geographic'. It is recommended to use 'nearest' or 'gauss' instead.", - UserWarning) - @staticmethod def absPath(path): return path if not path or os.path.isabs(path) else os.path.abspath(os.path.join(path_enptlib, path)) -- GitLab