def _get_noise_data(tr, acc_type):
    """
    Get update sac-trace header to obspy trace header station_latitude etc.

    :param tr:
    :param acc_type:
    :return tr:
    """
    station_longitude = tr.stats.sac.stlo
    station_latitude = tr.stats.sac.stla
    station_elevation = tr.stats.sac.stel
    header = {'type': acc_type, 'station_latitude': station_latitude,
        'station_longitude': station_longitude, 'station_elevation':
        station_elevation}
    tr.stats.update(header)
    return tr
