obspy.clients.filesystem.tsindex.Indexer.download_leap_seconds_file

Indexer.download_leap_seconds_file(file_path=None)[source]

Attempt to download leap-seconds.list from Internet Engineering Task Force (IETF) and save to a file.

Parameters:file_path (str) Optional path to file path where leap seconds file should be downloaded. By default the file is downloaded to the same directory as the Indexer instances sqlite3 timeseries index database path.
Return type:str
Returns:Path to downloaded leap seconds file.