pygeodes.utils.io.similar_filenames#

pygeodes.utils.io.similar_filenames(filename: str, other_filenames: List[str], nb: int = 10) List[str][source]#

This function returns the nb most resembling filenames to the filename provided in the list of filenames

Args:

filename (str): the filename other_filenames (List[str]): the other filenames to be compared to nb (int, optional): the number of filenames to keep. Defaults to 10.

Returns:

List[str]: the most resembling filenames