obspy.clients.nrl.client.NRL

class NRL(root=None)[source]

Bases: object

NRL client base class for accessing the Nominal Response Library.

https://ds.iris.edu/NRL/

Created with a URL for remote access or filesystem accessing a local copy.

Warning

Remote access to online NRL is deprecated as it will stop working in Spring 2023 due to server side changes.

Public Methods

get_datalogger_response

Get the datalogger response.

get_response

Get Response from NRL tree structure

get_sensor_response

Get the sensor response.

Private Methods

Warning

Private methods are mainly for internal/developer use and their API might change without notice.

NRL._choose(choice, path)[source]
NRL._clean_str(string)[source]
NRL._parse_ini(path)[source]
NRL._repr_pretty_(p, cycle)[source]

Special Methods

NRL.__delattr__(name, /)

Implement delattr(self, name).

NRL.__dir__()

Default dir() implementation.

NRL.__eq__(value, /)

Return self==value.

NRL.__format__(format_spec, /)

Default object formatter.

NRL.__ge__(value, /)

Return self>=value.

NRL.__getattribute__(name, /)

Return getattr(self, name).

NRL.__gt__(value, /)

Return self>value.

NRL.__hash__()

Return hash(self).

NRL.__init__()[source]
NRL.__init_subclass__()

This method is called when a class is subclassed.

The default implementation does nothing. It may be overridden to extend subclasses.

NRL.__le__(value, /)

Return self<=value.

NRL.__lt__(value, /)

Return self<value.

NRL.__ne__(value, /)

Return self!=value.

static NRL.__new__(cls, root=None)[source]
NRL.__reduce__()

Helper for pickle.

NRL.__reduce_ex__(protocol, /)

Helper for pickle.

NRL.__repr__()

Return repr(self).

NRL.__setattr__(name, value, /)

Implement setattr(self, name, value).

NRL.__sizeof__()

Size of object in memory, in bytes.

NRL.__str__()[source]
NRL.__subclasshook__()

Abstract classes can override this to customize issubclass().

This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).