From 70c08f47ab2f263c0b29729f58c397bb3c509682 Mon Sep 17 00:00:00 2001 From: ftong Date: Mon, 7 Jul 2025 14:49:35 +0200 Subject: [PATCH] add info msg about m_max --- src/seismic_hazard_forecasting.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/seismic_hazard_forecasting.py b/src/seismic_hazard_forecasting.py index 15826b3..77ef2bd 100644 --- a/src/seismic_hazard_forecasting.py +++ b/src/seismic_hazard_forecasting.py @@ -166,10 +166,9 @@ verbose: {verbose}") lon = np.delete(lon, indices) # if user does not provide a m_max, set m_max to 1 magnitude unit above max magnitude in catalog - logger.info(f"mag max of catalog is: {mag.max()}") if m_max == None: m_max = mag.max() + 1.0 - logger.info(f"m_max is: {m_max}") + logger.info(f"No m_max was given. Therefore m_max is automatically set to: {m_max}") start = timer() t_windowed, r_windowed = win_CNE(time, [lon, lat, mag], win_size=len(mag), win_overlap=0, min_events=1)