def flood_risk(station):
        """Returns the flood risk level of each station based on the relative water level"""
        if hasattr(station,'relative_level'):
            if station.relative_level != None:
                if station.relative_level >= 2:
                    return "severe risk"                
                elif station.relative_level >= 1 and station.relative_level < 2:
                    return "high risk"               
                elif station.relative_level >= 0.75 and station.relative_level < 1:
                    return "moderate risk"               
                else:
                    return "low risk"

            else:
                print("Station with latest level of None found")