Package edu.sc.seis.seisFile.fdsnws
Class FDSNDataSelectQueryParams
java.lang.Object
edu.sc.seis.seisFile.fdsnws.AbstractQueryParams
edu.sc.seis.seisFile.fdsnws.FDSNDataSelectQueryParams
- All Implemented Interfaces:
Cloneable
Autogenerated by groovy FDSNQueryParamGenerator.groovy in src/metacode/groovy
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
Fields inherited from class edu.sc.seis.seisFile.fdsnws.AbstractQueryParams
DEFAULT_HOST, IRIS_HOST, NEWLINE, NO_DATA, nodata
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappendToChannel
(String value) appendToLocation
(String value) appendToNetwork
(String value) appendToStation
(String value) clone()
Forms the list of ChannelTimeWindow for use in a POST request to the web service.formPostString
(List<ChannelTimeWindow> request) Forms the text for use in a POST request to the web service.Service name as defined by the fdsn, ie event, station or dataselect.setChannel
(String[] value) Select one or more SEED channel codes.setEndTime
(Instant value) Limit results to time series samples on or before the specified end timesetLocation
(String[] value) Select one or more SEED location identifiers.setLongestOnly
(boolean value) Limit results to the longest continuous segment per channel.setMinimumLength
(int value) Limit results to continuous data segments of a minimum length specified in seconds.setNetwork
(String[] value) Select one or more network codes.setPort
(int port) setQuality
(String value) Select a specific SEED quality indicator, handling is data center dependent.setStartTime
(Instant value) Limit results to time series samples on or after the specified start timesetStation
(String[] value) Select one or more SEED station codes.Methods inherited from class edu.sc.seis.seisFile.fdsnws.AbstractQueryParams
appendToParam, clear, clearParam, createDateFormat, formURI, getFDSNMajorVersion, getFdsnQueryStyle, getFdsnwsPath, getHost, getParam, getParams, getPort, getScheme, setBaseURL, setFdsnQueryStyle, setFdsnwsPath, setParam, setParam, setParam, setParam, setParam, setScheme, useHTTP, useHTTPS
-
Field Details
-
STARTTIME
- See Also:
-
STARTTIME_SHORT
- See Also:
-
ENDTIME
- See Also:
-
ENDTIME_SHORT
- See Also:
-
NETWORK
- See Also:
-
NETWORK_SHORT
- See Also:
-
STATION
- See Also:
-
STATION_SHORT
- See Also:
-
LOCATION
- See Also:
-
LOCATION_SHORT
- See Also:
-
CHANNEL
- See Also:
-
CHANNEL_SHORT
- See Also:
-
QUALITY
- See Also:
-
MINIMUMLENGTH
- See Also:
-
LONGESTONLY
- See Also:
-
DATASELECT_SERVICE
- See Also:
-
-
Constructor Details
-
FDSNDataSelectQueryParams
public FDSNDataSelectQueryParams() -
FDSNDataSelectQueryParams
-
-
Method Details
-
clone
-
setHost
-
setPort
-
clearStartTime
-
setStartTime
Limit results to time series samples on or after the specified start time- Parameters:
value
- value to set- Returns:
- the queryParams for method chaining
-
clearEndTime
-
setEndTime
Limit results to time series samples on or before the specified end time- Parameters:
value
- value to set- Returns:
- the queryParams for method chaining
-
clearNetwork
-
setNetwork
Select one or more network codes. Can be SEED network codes or data center defined codes. Multiple codes are comma-separated. -
appendToNetwork
-
clearStation
-
setStation
Select one or more SEED station codes. Multiple codes are comma-separated. -
appendToStation
-
clearLocation
-
setLocation
Select one or more SEED location identifiers. Multiple identifiers are comma-separated. As a special case -- (two dashes) will be translated to a string of two space characters to match blank location IDs. -
appendToLocation
-
clearChannel
-
setChannel
Select one or more SEED channel codes. Multiple codes are comma-separated. -
appendToChannel
-
clearQuality
-
setQuality
Select a specific SEED quality indicator, handling is data center dependent.- Parameters:
value
- value to set- Returns:
- the queryParams for method chaining
-
clearMinimumLength
-
setMinimumLength
Limit results to continuous data segments of a minimum length specified in seconds.- Parameters:
value
- value to set- Returns:
- the queryParams for method chaining
-
clearLongestOnly
-
setLongestOnly
Limit results to the longest continuous segment per channel.- Parameters:
value
- value to set- Returns:
- the queryParams for method chaining
-
createChannelTimeWindow
Forms the list of ChannelTimeWindow for use in a POST request to the web service. All possible combinations of Networks, Stations and Channels are combined with the start and end times to form the list of ChannelTimeWindow.- Returns:
- List of Channels paired with the time window
-
formPostString
-
formPostString
Forms the text for use in a POST request to the web service. Channel and time window are taken from the list of ChannelTimeWindow.- Returns:
-
getServiceName
Description copied from class:AbstractQueryParams
Service name as defined by the fdsn, ie event, station or dataselect.- Specified by:
getServiceName
in classAbstractQueryParams
-