PFoutput | R Documentation |
Write a pickfile to disk, after updating the earthquake location, in a variety of formats.
PFoutput(PF, stas = NULL, sol = NULL, format = 0, destdir=NULL)
PF |
Pickfile list from RSEIS |
stas |
station list |
sol |
solution vector, (lat, lon, z, t0) |
format |
integer, 0=all formats, 1=native R, 2=UW, 3=csv) |
destdir |
character, full path to destination directory, default=NULL ) |
Writes files to disk in local directory.
Side effects: writes files to user's disk
The destdir (destination directory) must be provided for the file to be save properly.
Creates a file name and writes to disk in a variety of formats.
A destdir that is NULL will result in writing to a temporary file.
Jonathan M. Lees<jonathan.lees@unc.edu>
SavePF, RSEIS
data(GH, package='RSEIS')
g1 = GH$pickfile
#### saves pick files to disk
PFoutput(g1, stas = NULL, sol = NULL, format = 1, destdir=tempdir() )
PFoutput(g1, stas = NULL, sol = NULL, format = 2, destdir=tempdir() )
PFoutput(g1, stas = NULL, sol = NULL, format = 3, destdir=tempdir() )
PFoutput(g1, stas = NULL, sol = NULL, format = 0, destdir=tempdir() )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.