Class QmlStaxmlArgs


  • public class QmlStaxmlArgs
    extends java.lang.Object
    • Field Detail

      • staSourceIdRegExString

        public static final java.lang.String staSourceIdRegExString
        See Also:
        Constant Field Values
      • staSourceIdRegEx

        public static final java.util.regex.Pattern staSourceIdRegEx
      • eidList

        public java.util.List<java.lang.String> eidList
      • sidList

        public java.util.List<java.lang.String> sidList
      • quakemlFilename

        protected java.lang.String quakemlFilename
      • stationxmlFilename

        protected java.lang.String stationxmlFilename
      • MAX_CHANNEL_DEPTH_SAME_STATION

        public static double MAX_CHANNEL_DEPTH_SAME_STATION
    • Constructor Detail

      • QmlStaxmlArgs

        public QmlStaxmlArgs()
    • Method Detail

      • loadStationsForSid

        public static java.util.List<edu.sc.seis.seisFile.fdsnws.stationxml.Station> loadStationsForSid​(java.util.List<java.lang.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 java.util.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 java.util.List<edu.sc.seis.seisFile.LatLonLocatable> getStationXMLLocations()
                                                                                    throws TauPException
        Throws:
        TauPException
      • getEventLocations

        public java.util.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 java.util.Map<edu.sc.seis.seisFile.fdsnws.stationxml.Network,​java.util.List<edu.sc.seis.seisFile.fdsnws.stationxml.Station>> loadStationXML()
                                                                                                                                                          throws TauPException
        Throws:
        TauPException
      • loadQuakeML

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

        public java.lang.String getQuakemlFilename()
      • setQuakemlFilename

        public void setQuakemlFilename​(java.lang.String quakemlFilename)
      • getEventIdList

        public java.util.List<java.lang.String> getEventIdList()
      • loadEventsFromUSGS

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

        public java.lang.String getStationxmlFilename()
      • setStationxmlFilename

        public void setStationxmlFilename​(java.lang.String stationxmlFilename)
      • getSidList

        public java.util.List<java.lang.String> getSidList()
      • getSidLocations

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

        public static java.lang.String getTaupUserAgent()