Returns the report list and removed station ident and time strings

def get_station_and_time(wxdata: [str]) -> ([str], str, str):  # type: ignore
    """
    Returns the report list and removed station ident and time strings
    """
    station = wxdata.pop(0)
    qtime = wxdata[0]
    if wxdata and qtime.endswith('Z') and qtime[:-1].isdigit():
        rtime = wxdata.pop(0)
    elif wxdata and len(qtime) == 6 and qtime.isdigit():
        rtime = wxdata.pop(0) + 'Z'
    else:
        rtime = ''
    return wxdata, station, rtime