Ignore some warnings

pull/1631/head
Piero Toffanin 2025-03-17 16:32:13 -04:00
rodzic 2099f4f2d9
commit 2a2c2decf3
1 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -37,6 +37,12 @@ warnings.filterwarnings("ignore", category=NotGeoreferencedWarning)
# Disable: Alpha band was removed from the output data array # Disable: Alpha band was removed from the output data array
warnings.filterwarnings("ignore", category=AlphaBandWarning) warnings.filterwarnings("ignore", category=AlphaBandWarning)
# Disable: UserWarning: Warning: 'partition' will ignore the 'mask' of the MaskedArray.
warnings.filterwarnings("ignore", category=UserWarning)
# Disable: RuntimeWarning: overflow encountered in reduce
warnings.filterwarnings("ignore", category=RuntimeWarning)
for custom_colormap in custom_colormaps: for custom_colormap in custom_colormaps:
colormap = colormap.register(custom_colormap) colormap = colormap.register(custom_colormap)