load_dir#
- ripplemapper.io.load_dir(directory: str | PosixPath, pattern: str | bool = False, skip: int = 1, start: int = 0, end: int | bool = None) tuple[list[ndarray], list[str]][source]#
Load all tif files found in directory and return the data in a list of numpy.ndarray.
- Parameters:
- Returns:
List of the data arrays extracted from the tif files and their corresponding file names.
- Return type:
- Raises:
FileNotFoundError – If no tif files are found in the directory.