From d41ffb0ce9895641def8e3580355bdf7510315e0 Mon Sep 17 00:00:00 2001 From: Zhang Yunjun Date: Tue, 28 Apr 2020 15:46:36 -0700 Subject: [PATCH] stackStripMap: suppress matplotlib DEBUG msg --- contrib/stack/stripmapStack/stackStripMap.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/contrib/stack/stripmapStack/stackStripMap.py b/contrib/stack/stripmapStack/stackStripMap.py index 950ff8e..132351c 100755 --- a/contrib/stack/stripmapStack/stackStripMap.py +++ b/contrib/stack/stripmapStack/stackStripMap.py @@ -8,6 +8,13 @@ import configparser import datetime import numpy as np import shelve + +# suppress matplotlib DEBUG message +from matplotlib.path import Path as Path +import logging +mpl_logger = logging.getLogger('matplotlib') +mpl_logger.setLevel(logging.WARNING) + import isce import isceobj from mroipac.baseline.Baseline import Baseline