mt_metadata.timeseries.stationxml.xml_network_mt_survey

Created on Tue Feb 16 10:18:29 2021

copyright:

Jared Peacock (jpeacock@usgs.gov)

license:

MIT

Attributes

inventory

Classes

XMLNetworkMTSurvey

translate back and forth between StationXML Network and MT Survey

Module Contents

mt_metadata.timeseries.stationxml.xml_network_mt_survey.inventory = None
class mt_metadata.timeseries.stationxml.xml_network_mt_survey.XMLNetworkMTSurvey

Bases: mt_metadata.timeseries.stationxml.utils.BaseTranslator

translate back and forth between StationXML Network and MT Survey

mt_translator
mt_comments_list = ['country', 'geographic_name', 'citation_journal.doi', 'id', 'project', 'acquired_by.author',...
xml_to_mt(network)

Translate a StationXML Network object to MT Survey object

Parameters:

network (obspy.core.inventory.Network) – StationXML network element

mt_to_xml(survey, code='ZU')

Convert MT Survey to Obspy Network

Note

For now the default code is ZU which is an IRIS catch-all network