Class QmlStaxmlArgs

java.lang.Object
edu.sc.seis.TauP.cmdline.args.QmlStaxmlArgs

public class QmlStaxmlArgs extends Object
  • Field Details

    • staSourceIdRegExString

      public static final String staSourceIdRegExString
      See Also:
    • staSourceIdRegEx

      public static final Pattern staSourceIdRegEx
    • eidList

      public List<String> eidList
    • sidList

      public List<String> sidList
    • quakemlFilename

      protected String quakemlFilename
    • quakemlText

      protected String quakemlText
    • stationxmlFilename

      protected String stationxmlFilename
    • stationxmlText

      protected String stationxmlText
    • MAX_CHANNEL_DEPTH_SAME_STATION

      public static double MAX_CHANNEL_DEPTH_SAME_STATION
  • Constructor Details

    • QmlStaxmlArgs

      public QmlStaxmlArgs()
  • Method Details

    • loadStationsForSid

      public static List<edu.sc.seis.seisFile.fdsnws.stationxml.Station> loadStationsForSid(List<String> sidList) throws edu.sc.seis.seisFile.mseed3.FDSNSourceIdException, edu.sc.seis.seisFile.fdsnws.FDSNWSException
      Throws:
      edu.sc.seis.seisFile.mseed3.FDSNSourceIdException
      edu.sc.seis.seisFile.fdsnws.FDSNWSException
    • getStationLocations

      public List<edu.sc.seis.seisFile.LatLonLocatable> getStationLocations() throws TauPException
      Gets station locations via stationxml file or remote loading of station sourceid.
      Returns:
      List of station/channel locations
      Throws:
      TauPException - If error parsing xml file.
    • getStationXMLLocations

      public List<edu.sc.seis.seisFile.LatLonLocatable> getStationXMLLocations() throws TauPException
      Throws:
      TauPException
    • getEventLocations

      public List<edu.sc.seis.seisFile.LatLonLocatable> getEventLocations() throws TauPException
      Returns a list of event locations as parsed from the command line arguments.
      Returns:
      a List<EventLocation> representing all parsed event locations, or an empty list if none have been specified.
      Throws:
      TauPException - If unable to parse files or load remote resources.
    • hasQml

      public boolean hasQml()
    • hasStationXML

      public boolean hasStationXML()
    • loadStationXML

      public Map<edu.sc.seis.seisFile.fdsnws.stationxml.Network,List<edu.sc.seis.seisFile.fdsnws.stationxml.Station>> loadStationXML() throws TauPException
      Throws:
      TauPException
    • loadQuakeML

      public List<edu.sc.seis.seisFile.fdsnws.quakeml.Event> loadQuakeML() throws TauPException
      Throws:
      TauPException
    • getQuakemlFilename

      public String getQuakemlFilename()
    • setQuakemlFilename

      public void setQuakemlFilename(String quakemlFilename)
    • getQuakemlText

      public String getQuakemlText()
    • setQuakemlText

      public void setQuakemlText(String quakemlText)
    • getEventIdList

      public List<String> getEventIdList()
    • loadEventsFromUSGS

      public List<edu.sc.seis.seisFile.fdsnws.quakeml.Event> loadEventsFromUSGS(List<String> eidList) throws TauPException
      Throws:
      TauPException
    • getStationxmlFilename

      public String getStationxmlFilename()
    • setStationxmlFilename

      public void setStationxmlFilename(String stationxmlFilename)
    • getStationxmlText

      public String getStationxmlText()
    • setStationxmlText

      public void setStationxmlText(String stationxmlText)
    • getSidList

      public List<String> getSidList()
    • getSidLocations

      public List<edu.sc.seis.seisFile.fdsnws.stationxml.Station> getSidLocations() throws TauPException
      Throws:
      TauPException
    • getTaupUserAgent

      public static String getTaupUserAgent()