Skip to content

Commit

Permalink
Rebrand IRIS -> EarthScope and fix URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
chad-earthscope authored and megies committed Apr 29, 2024
1 parent 71cc344 commit 1bb212a
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions obspy/clients/filesystem/tsindex.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# -*- coding: utf-8 -*-
r"""
obspy.clients.filesystem.tsindex - IRIS TSIndex Client and Indexer
obspy.clients.filesystem.tsindex - EarthScope TSIndex Client and Indexer
==================================================================
The obspy.clients.filesystem.tsindex module includes a timeseries extraction
:class:`Client` class for a database created by the IRIS
`mseedindex <https://github.com/iris-edu/mseedindex/>`_ program, as well as, a
:class:`Indexer` class for creating a SQLite3 database that follows the IRIS
:class:`Client` class for a database created by the EarthScope
`mseedindex <https://github.com/EarthScope/mseedindex/>`_ program, as well as, a

Check failure on line 8 in obspy/clients/filesystem/tsindex.py

View workflow job for this annotation

GitHub Actions / flake8

[flake8] obspy/clients/filesystem/tsindex.py#L8

E501 line too long (80 > 79 characters)
Raw output
obspy/clients/filesystem/tsindex.py:8:80: E501 line too long (80 > 79 characters)
:class:`Indexer` class for creating a SQLite3 database that follows the EarthScope

Check failure on line 9 in obspy/clients/filesystem/tsindex.py

View workflow job for this annotation

GitHub Actions / flake8

[flake8] obspy/clients/filesystem/tsindex.py#L9

E501 line too long (82 > 79 characters)
Raw output
obspy/clients/filesystem/tsindex.py:9:80: E501 line too long (82 > 79 characters)
`tsindex database schema
<https://github.com/iris-edu/mseedindex/wiki/Database-Schema/>`_\.
<https://github.com/EarthScope/mseedindex/wiki/Database-Schema/>`_\.
:copyright:
Nick Falco, Chad Trabant, IRISDMC, 2021
Nick Falco, Chad Trabant, IRIS-now-EarthScope Data Services, 2024
The ObsPy Development Team (devs@obspy.org)
:license:
GNU Lesser General Public License, Version 3
Expand Down Expand Up @@ -119,8 +119,8 @@
-------------
The :class:`~Indexer` provides a high level
API for indexing a directory tree of miniSEED files using the IRIS
`mseedindex <https://github.com/iris-edu/mseedindex/>`_ software.
API for indexing a directory tree of miniSEED files using the EarthScope
`mseedindex <https://github.com/EarthScope/mseedindex/>`_ software.
An important feature of this module is the ability to index data files
in parallel, making it convenient for indexing large data sets of many
Expand Down Expand Up @@ -193,7 +193,7 @@ def _pickle_method(m):

class Client(object):
"""
Time series extraction client for IRIS tsindex database schema.
Time series extraction client for EarthScope tsindex database schema.
"""
@deprecated_keywords({"loglevel": None})
def __init__(self, database, datapath_replace=None, loglevel=None):
Expand Down Expand Up @@ -573,7 +573,7 @@ def _get_summary_rows(self, network, station, location, channel,
containing information found in the tsindex_summary table.
Information about the tsindex_summary schema may be found in the
`mseedindex wiki <https://github.com/iris-edu/mseedindex/wiki/\
`mseedindex wiki <https://github.com/EarthScope/mseedindex/wiki/\
Database-Schema#suggested-time-series-summary-table>`_.
:type network: str
Expand Down Expand Up @@ -654,7 +654,7 @@ def _get_tsindex_rows(self, network, station, location, channel, starttime,
containing information found in the tsindex table.
Information about the tsindex schema may be found in the
`mseedindex wiki schema <https://github.com/iris-edu/mseedindex/wiki/\
`mseedindex wiki schema <https://github.com/EarthScope/mseedindex/wiki/\

Check failure on line 657 in obspy/clients/filesystem/tsindex.py

View workflow job for this annotation

GitHub Actions / flake8

[flake8] obspy/clients/filesystem/tsindex.py#L657

E501 line too long (80 > 79 characters)
Raw output
obspy/clients/filesystem/tsindex.py:657:80: E501 line too long (80 > 79 characters)
Database-Schema#sqlite-schema-version-11>`_.
:type network: str
Expand Down Expand Up @@ -890,7 +890,7 @@ def _create_timespans_list(self, raw_timespans):

class Indexer(object):
"""
Build an index for miniSEED data using IRIS's mseedindex program.
Build an index for miniSEED data using EarthScope's mseedindex program.
Recursively search for files matching ``filename_pattern`` starting
from ``root_path`` and run ``index_cmd`` for each target file found that
is not already in the index. After all new files are indexed a summary
Expand Down Expand Up @@ -923,7 +923,7 @@ def __init__(self, root_path, database="timeseries.sqlite",
coverage for records that contain a leap second. Also, leap second
indicators in the miniSEED headers will be ignored. See the
`mseedindex wiki leap second
<https://github.com/iris-edu/mseedindex/blob/"
<https://github.com/EarthScope/mseedindex/blob/"
"master/doc/mseedindex.md#leap-second-list-file>`_ for more"
"for more information regarding this file.
:type index_cmd: str
Expand Down Expand Up @@ -980,7 +980,7 @@ def run(self, build_summary=True, relative_paths=False, reindex=False):
if self._is_index_cmd_installed() is False:
raise OSError(
"Required program '{}' is not installed. Hint: Install "
"mseedindex at https://github.com/iris-edu/mseedindex/."
"mseedindex at https://github.com/EarthScope/mseedindex/."
.format(self.index_cmd))
if self.request_handler.sqlite:
self.request_handler._set_sqlite_pragma()
Expand Down

0 comments on commit 1bb212a

Please sign in to comment.