forked from official-apps/SeismicHazardForecasting
		
	add info msg about m_max
This commit is contained in:
		@@ -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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user