def _mode(row):
    """Converts the mode per WWARA to the mode string for ICOM."""
    mode = "FM"
    if row["DSTAR_DV"] == "Y":
        mode = "DV"
    elif row["FM_WIDE"] == "Y":
        mode = "FM"
    elif row["FM_NARROW"] == "Y":
        mode = "FM-N"
    return mode