def get_soil_texture_superclass_id(superclass: str):
    """Get soil texture superclass ID.

    Parameters
    ----------
    superclass : str
        Superclass from {L, S, T, U}.

    Returns
    -------
    int
        ID of superclass

    """
    superclass_dict = {"L": 0, "S": 1, "T": 2, "U": 3}
    return superclass_dict[superclass[-1]]