Class FDSNDataSelectQueryParams

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class FDSNDataSelectQueryParams
    extends AbstractQueryParams
    implements java.lang.Cloneable
    Autogenerated by groovy FDSNQueryParamGenerator.groovy in src/metacode/groovy
    • Constructor Detail

      • FDSNDataSelectQueryParams

        public FDSNDataSelectQueryParams()
      • FDSNDataSelectQueryParams

        public FDSNDataSelectQueryParams​(java.lang.String host)
    • Method Detail

      • setStartTime

        public FDSNDataSelectQueryParams setStartTime​(java.time.Instant value)
        Limit results to time series samples on or after the specified start time
        Parameters:
        value - value to set
        Returns:
        the queryParams for method chaining
      • setEndTime

        public FDSNDataSelectQueryParams setEndTime​(java.time.Instant value)
        Limit results to time series samples on or before the specified end time
        Parameters:
        value - value to set
        Returns:
        the queryParams for method chaining
      • setNetwork

        public FDSNDataSelectQueryParams setNetwork​(java.lang.String[] value)
        Select one or more network codes. Can be SEED network codes or data center defined codes. Multiple codes are comma-separated.
      • setStation

        public FDSNDataSelectQueryParams setStation​(java.lang.String[] value)
        Select one or more SEED station codes. Multiple codes are comma-separated.
      • setLocation

        public FDSNDataSelectQueryParams setLocation​(java.lang.String[] value)
        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.
      • setChannel

        public FDSNDataSelectQueryParams setChannel​(java.lang.String[] value)
        Select one or more SEED channel codes. Multiple codes are comma-separated.
      • setQuality

        public FDSNDataSelectQueryParams setQuality​(java.lang.String value)
        Select a specific SEED quality indicator, handling is data center dependent.
        Parameters:
        value - value to set
        Returns:
        the queryParams for method chaining
      • setMinimumLength

        public FDSNDataSelectQueryParams setMinimumLength​(int value)
        Limit results to continuous data segments of a minimum length specified in seconds.
        Parameters:
        value - value to set
        Returns:
        the queryParams for method chaining
      • setLongestOnly

        public FDSNDataSelectQueryParams setLongestOnly​(boolean value)
        Limit results to the longest continuous segment per channel.
        Parameters:
        value - value to set
        Returns:
        the queryParams for method chaining
      • createChannelTimeWindow

        public java.util.List<ChannelTimeWindow> 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

        public java.lang.String formPostString()
      • formPostString

        public java.lang.String formPostString​(java.util.List<ChannelTimeWindow> request)
        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: