import json


def get_static_profile_names(fname="config/static_conductivity_profiles.json"):
    """
    Load and return profile names
    """
    with open(fname, "r") as f:
        o = json.load(f)
    profiles = []
    for p in o["profiles"].keys():
        profiles.append(
            {
                "code": p,
                "name": o["profiles"][p]["name"],
                "desciption": o["profiles"][p]["desciption"],
            }
        )
    return profiles