FDSNGetTimeSeries: Download sensor time series from FDSN.

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/FDSNGet.R

Description

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.

Usage

1
2
FDSNGetTimeSeries(base.url, parameters, save.file = "result.mseed", 
    save.dir = ".", verbose = TRUE)

Arguments

base.url

The address of a FDSN server.

parameters

Time series selection parameters, see FDSNParameterList for available inputs and examples below for usage.

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 TRUE, download progress is displayed.

Value

file.name

The location of the downloaded file

Author(s)

Daniel C. Bowman [email protected]

References

http://www.fdsn.org/webservices/

See Also

FDSNParameterList

Examples

 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)

rFDSN documentation built on May 1, 2019, 6:51 p.m.