def get_event_id(trace):
    """Return event GCMT ID from obspy Trace.

    Args:
        trace (Trace): obspy Trace object

    Returns:
        str: GCMT ID

    """
    evid = trace.stats.sac.kevnm
    return evid