"Stream"A Stream object containing a list of Trace objects.
Objects are typically created by calls to getDataselect.
url:Object of class "character":
URL request used to generate this Stream.
requestedStarttime:Object of class "POSIXct":
starttime used when requesting data with getDataselect.
requestedEndtime:Object of class "POSIXct":
endtime used when requesting data with getDataselect.
act_flags:Object of class "integer":
Accumulators for the act_flags bits in each miniSEED record.
io_flags:Object of class "integer":
Accumulators for the io_flags bits in each miniSEED record.
dq_flags:Object of class "integer":
Accumulators for the dq_flags bits in each miniSEED record.
timing_qual:Object of class "numeric":
Average timing quality associated with miniSEED records.
traces:Object of class "list":
List of Trace objects.
signature(x="Stream"):
returns information on data dropouts between Traces; see getGaps
signature(x="Stream", min_signal="numeric", min_gap="numeric"):
returns a vector of datetimes associated with channel up/down transitions; see getUpDownTimes
signature(x="Stream"):
returns the total number of data points in all Traces
signature(x="Stream"):
returns the overall data maximum for all data in all Traces
signature(x="Stream", na.rm= "logical"):
returns the overall data median for all data in all Traces
signature(x="Stream"):
returns the overall data mean for all data in all Traces
signature(x="Stream", fillMethod="fillNA"):
returns a new Stream object where all Traces have been merged into a single Trace mergeTraces
signature(x="Stream"):
returns the overall data minimum for all data in all Traces
signature(x="Stream", y="numeric"):
returns a new Stream object where the data in every Trace have been multiplied by y; see multiplyBy
signature(x="Stream"):
returns a vector of data lengths, one for each Trace
signature(x="Stream"):
returns a vector of data maxima, one for each Trace
signature(x="Stream", na.rm= "logical"):
returns a vector of data medians, one for each Trace
signature(x="Stream"):
returns a vector of data means, one for each Trace
signature(x="Stream"):
returns a vector of data minima, one for each Trace
signature(x="Stream"):
returns a vector of RMS calculations, one for each Trace; see rmsVariance
signature(x="Stream"):
returns a vector of RMS variance calculations, one for each Trace; see rmsVariance
signature(x="Stream", na.rm="logical"):
returns a vector of standard deviation calculations, one for each Trace
signature(x="Stream"):
default plot of the merged Traces in a Stream with appropriate labeling
signature(x="Stream", min_signal="numeric", min_gap="numeric"):
plots the times at which a Stream transitions from data collection to non-collection (on/off); see getUpDownTimes
signature(x="Stream"):
returns the overall Root Mean Square amplitude for all data in all Traces; see rmsVariance
signature(x="Stream"):
returns the overall RMS variance for all data in all Traces; see rmsVariance
signature(x="Stream", na.rm="logical"):
returns the overall standard deviations for all data in all Traces
signature(x="Stream", starttime="POSIXct", endtime="POSIXct"):
returns a new Stream sliced out of an existing Stream (see slice)
signature(x="Stream"):
returns a vector of SNCLQ identifiers, one for each Trace
Jonathan Callahan jonathan@mazamascience.com
if (FALSE) {
# Open a connection to EarthScope webservices
iris <- new("IrisClient")
starttime <- as.POSIXct("2012-01-24", tz="GMT")
endtime <- as.POSIXct("2012-01-25", tz="GMT")
# Get the waveform
st <- getDataselect(iris,"AK","PIN","","BHZ",starttime,endtime)
min(st)
median(st)
mean(st)
max(st)
sd(st)
rms(st)
rmsVariance(st)
}
Run the code above in your browser using DataLab