Skip to content

NGA helper function, StationStreams from FDSN request, and setting credentials

Created by: jrekoske-usgs

  • Adds a module gmprocess.io.nga.py with function get_nga_record_sequence_no to find the matching record no. in the NGA flatfile for a given StationStream, based on distance. If exactly one match is not found, then returns numpy.nan.
  • request_raw_waveforms now returns a list of StationStream objects. StationTrace was slightly modified to fix issues parsing obspy inventory objects.
  • Username and password for accessing restricted data from FDSN services can be now set in the config.

Closes #117 (closed) Closes #116 (closed) Closes #111 (closed) Closes #103 (closed)

Merge request reports

Loading