Package edu.sc.seis.TauP.cmdline.args
Class QmlStaxmlArgs
java.lang.Object
edu.sc.seis.TauP.cmdline.args.QmlStaxmlArgs
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<edu.sc.seis.seisFile.LatLonLocatable>Returns a list of event locations as parsed from the command line arguments.List<edu.sc.seis.seisFile.fdsnws.stationxml.Station>List<edu.sc.seis.seisFile.LatLonLocatable>Gets station locations via stationxml file or remote loading of station sourceid.List<edu.sc.seis.seisFile.LatLonLocatable>static StringbooleanhasQml()booleanList<edu.sc.seis.seisFile.fdsnws.quakeml.Event>loadEventsFromUSGS(List<String> eidList) List<edu.sc.seis.seisFile.fdsnws.quakeml.Event>static List<edu.sc.seis.seisFile.fdsnws.stationxml.Station>loadStationsForSid(List<String> sidList) Map<edu.sc.seis.seisFile.fdsnws.stationxml.Network,List<edu.sc.seis.seisFile.fdsnws.stationxml.Station>> voidsetQuakemlFilename(String quakemlFilename) voidsetQuakemlText(String quakemlText) voidsetStationxmlFilename(String stationxmlFilename) voidsetStationxmlText(String stationxmlText)
-
Field Details
-
staSourceIdRegExString
- See Also:
-
staSourceIdRegEx
-
eidList
-
sidList
-
quakemlFilename
-
quakemlText
-
stationxmlFilename
-
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.FDSNSourceIdExceptionedu.sc.seis.seisFile.fdsnws.FDSNWSException
-
getStationLocations
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
- Throws:
TauPException
-
getEventLocations
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
- Throws:
TauPException
-
getQuakemlFilename
-
setQuakemlFilename
-
getQuakemlText
-
setQuakemlText
-
getEventIdList
-
loadEventsFromUSGS
public List<edu.sc.seis.seisFile.fdsnws.quakeml.Event> loadEventsFromUSGS(List<String> eidList) throws TauPException - Throws:
TauPException
-
getStationxmlFilename
-
setStationxmlFilename
-
getStationxmlText
-
setStationxmlText
-
getSidList
-
getSidLocations
- Throws:
TauPException
-
getTaupUserAgent
-