obspy.clients.nrl.client.RemoteNRL
- class RemoteNRL(root=None)[source]
Bases:
NRL
DEPRECATED
Subclass of NRL for accessing remote copy of NRL.
Direct access to online NRL is deprecated as it will stop working when the original NRLv1 gets taken offline (Spring 2023), please consider working locally with a downloaded full copy of the old NRLv1 or new NRLv2 following instructions on the NRL landing page.
Public Methods
Get the datalogger response. |
|
Get an integrated response. |
|
Get Response from NRL tree structure |
|
Get the sensor response. |
|
Get a SOH response. |
Private Methods
Warning
Private methods are mainly for internal/developer use and their API might change without notice.
- static RemoteNRL._assert_units_ok(response)
Checks the units in the stage chain and overall sensitivity
Raises an AssertionError if units are set but do not match throughout all stages and the instrument sensitivity. Raises other exceptions like IndexError if the assumptions that response stages are present and that there is an instrument sensitivity object are not met. Currently works case insensitive on unit name strings.
- RemoteNRL._choose(choice, path)
- RemoteNRL._clean_str(string)
- RemoteNRL._combine_sensor_datalogger(sensor, datalogger, sensor_resp_type, datalogger_resp_type)
- RemoteNRL._get_response(base, keys)
Internal helper method to fetch a response
This circumvents the warning message that is shown for NRL v2 when a datalogger-only response is fetched
- RemoteNRL._parse_ini(path)
- RemoteNRL._repr_pretty_(p, cycle)
Special Methods
- RemoteNRL.__delattr__(name, /)
Implement delattr(self, name).
- RemoteNRL.__dir__()
Default dir() implementation.
- RemoteNRL.__eq__(value, /)
Return self==value.
- RemoteNRL.__format__(format_spec, /)
Default object formatter.
- RemoteNRL.__ge__(value, /)
Return self>=value.
- RemoteNRL.__getattribute__(name, /)
Return getattr(self, name).
- RemoteNRL.__gt__(value, /)
Return self>value.
- RemoteNRL.__hash__()
Return hash(self).
- RemoteNRL.__init__(root='https://ds.iris.edu/NRL')[source]
DEPRECATED
Direct access to online NRL is deprecated as it will stop working when the original NRLv1 gets taken offline (Spring 2023), please consider working locally with a downloaded full copy of the old NRLv1 or new NRLv2 following instructions on the NRL landing page.
- RemoteNRL.__init_subclass__()
This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
- RemoteNRL.__le__(value, /)
Return self<=value.
- RemoteNRL.__lt__(value, /)
Return self<value.
- RemoteNRL.__ne__(value, /)
Return self!=value.
- static RemoteNRL.__new__(cls, root=None)
- RemoteNRL.__reduce__()
Helper for pickle.
- RemoteNRL.__reduce_ex__(protocol, /)
Helper for pickle.
- RemoteNRL.__repr__()
Return repr(self).
- RemoteNRL.__setattr__(name, value, /)
Implement setattr(self, name, value).
- RemoteNRL.__sizeof__()
Size of object in memory, in bytes.
- RemoteNRL.__str__()
- RemoteNRL.__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).