def get_lat_lon_alt(pandora_filepath):
    """Returns a dictionary of lat, lon, alt extracted from the pandora file

    :param pandora_filepath: The pandora file
    :type pandora_filepath: str

    :returns: A dict of {"lat":lat, "lon":lon, "alt":alt}
    :rtype: dict{str:int}
    """
    lat = None
    lon = None
    alt = None
    with open(pandora_filepath, 'r', encoding="Latin-1") as pandora_file:
        while (lat == None or lon == None or alt == None):
            current_line = pandora_file.readline()
            if current_line.startswith("Location latitude [deg]:"):
                lat = float(current_line.split(":")[1])
            elif current_line.startswith("Location longitude [deg]:"):
                lon = float(current_line.split(":")[1])
            elif current_line.startswith("Location altitude [m]:"):
                alt = float(current_line.split(":")[1])
            elif current_line.startswith("--------"):
                # Future improvements to code: Change for exception if this might happen
                print("Lat/lon/alt not found in file {}".format(pandora_filepath))
                return
    return {"lat": lat, "lon": lon, "alt": alt}