import json


def _read_city_name(path: str) -> str:
    """read city name from json file in the log folder
    Args:
        path: path to the json city_name in the log folder
    Returns:
        city_name: city name of the current log, either 'PIT' or 'MIA'
    """
    with open(path, "r") as f:
        city_name = json.load(f)["city_name"]
        assert isinstance(city_name, str)
        return city_name