package
0.0.0-20250321010604-d6f09de179c9
Repository: https://github.com/geonet/delta.git
Documentation: pkg.go.dev

# README

RESPONSE FILES

The goal of the resp directory is to build a golang source module that allows easy instrument response information discovery for downstream programs but primarily to build stationxml representations of the meta information.

ResponseType

The ResponseType is a struct that mimics the StationXML ResponseType element, but is not constrained to any particular version. For this reason it can be used to load base XML files which can then be used to construct the full response needed for StationXML.

The location of the base XML files can be found in:

  • auto -- where the original response files have been converted into an XML equivalent.
  • files -- where response files have been handcrafted as needed.
  • nrl -- where responses derived from the NRL (Nominal Response Library) can be stored.

Files found in any of the locations can be used in the channel and component configurations by removing the .xml suffix.

References

  • Mary E. Templeton (2017): IRIS Library of Nominal Response for Seismic Instruments. Incorporated Research Institutions for Seismology. Dataset. https://doi.org/10.17611/S7159Q

# Functions

Calibration is used to set a initial sensor reference gain, this overrides the default values.
Frequency is used to set the overall reference frequency for the Response.
Gain is used to adjusts the installed sensor gains, this is in addition to the default values.
List returns a slice representation of generic embeded stationxml responses.
ListBase returns a list of generic stationxml responses in the embedded files if no base directory given.
ListDir returns a slice of generic stationxml responses stored in the given directory.
ListFS returns a slice representation of generic stationxml responses in the given file system.
Lookup returns a byte slice representation of a generic embeded stationxml Response if present.
LookupBase returns a byte slice representation of a generic stationxml Response either stored in a given directory or in the embedded files if no base directory given.
LookupDir returns a byte slice representation of a generic stationxml Response if stored in the given directory.
LookupFS returns a byte slice representation of a generic stationxml Response if present in the given file system.
NewInstrumentResponse builds a Response with the given options.
No description provided by the author
No description provided by the author
Preamp is used to adjusts the datalogger gains, this is in addition to the default values.
Prefix sets the label used to prefix Response element names.
Serial sets the label used to prefix Response equipment labels.
Telemetry is used to adjusts the sensor and datalogger connection gain, this is in addition to the default values.

# Constants

No description provided by the author

# Variables

No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
InstrumentResponse is used for building an instrument response based on sensor and datalogger pairs.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ResponseInfo is used to store simplified conversion details.
No description provided by the author
ResponseType is a struct that mimics the StationXML ResponseType element, but is not constrained to a particular version.
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author