obspy.clients.filesystem.tsindex.Indexer.build_file_list

Indexer.build_file_list(relative_paths=False, reindex=False)[source]

Create a list of absolute paths to all files under root_path that match the filename_pattern.

Parameters:
  • relative_paths (bool) By default, the absolute path to each file is stored in the index. If relative_paths is True, then the file paths will be relative to the root_path.
  • reindex (bool) If reindex is True, then already indexed files will be reindexed.
Return type:

list(str)

Returns:

A list of files under the root_path matching filename_pattern.