Description Usage Arguments Value Author(s) References See Also Examples
This function gathers earthquake data from the International Federation of Digital Seismograph Networks in miniseed format.
The available subsetting parameters can be viewed by calling FDSNParameterList
.
1 2 | FDSNGetTimeSeries(base.url, parameters, save.file = "result.mseed",
save.dir = ".", verbose = TRUE)
|
base.url |
The address of a FDSN server. |
parameters |
Time series selection parameters, see |
save.file |
What name to give the miniseed file when it has been downloaded. |
save.dir |
Where to save the miniseed file, defaults to the current directory. |
verbose |
If |
file.name |
The location of the downloaded file |
Daniel C. Bowman daniel.bowman@unc.edu
http://www.fdsn.org/webservices/
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | ## Not run:
#Download pressure data at station Y22D on August 9, 2014
#IRIS data download server
base.url <- "http://service.iris.edu/fdsnws/dataselect/1/"
parameters <- list(
name = c(
"sta",
"cha",
"start",
"end"),
value = c(
"Y22D", #Station name
"BDF", #SEED channel name
"2014-08-09T00:00:00.000", #Midnight GMT
"2014-08-09T23:59:59.999") #Midnight GMT
)
miniseed.file <- FDSNGetTimeSeries(base.url, parameters, save.file = "Y22D_BDF.mseed")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.