def basin_finder(loc):
    """
    Finds basin to load data from.
    Input
        loc: list of coordinates [lat, lon] or string refering to an area.
    Output
        basin , string: name of the basin.
    """
    basin_dic = {'indus': 'indus', 'uib': 'indus', 'sutlej': 'indus',
                 'beas': 'indus', 'beas_sutlej': 'indus', 'khyber': 'indus',
                 'ngari': 'indus', 'gilgit': 'indus'}
    if type(loc) is str:
        basin = basin_dic[loc]
        return basin
    if type(loc) is not str:  # fix to search with coords
        print('Not a string')