from datetime import datetime


def unix_time(time_str):
    """
        Converts a timestamp from the weather data to Unix time.
    """
    return datetime.strptime(time_str, "%d/%m/%Y %H:%M").timestamp()