from typing import List
from pathlib import Path


def get_531_basins() -> List:
    """Read list of basins from text file.
    
    Returns
    -------
    List
        List containing the 8-digit basin code of all basins
    """
    basin_file = Path('/home/nieberj/lixx5000/Camels/data/basin_list.txt')
    with basin_file.open('r') as fp:
        basins = fp.readlines()
    basins = [basin.strip() for basin in basins]
    return basins