Learn R Programming

Rquake (version 2.5-1)

PFoutput: Write a pickfile to disk

Description

Write a pickfile to disk, after updating the earthquake location, in a variety of formats.

Usage

PFoutput(PF, stas = NULL, sol = NULL, format = 0, destdir=NULL)

Value

Side effects: writes files to user's disk

Arguments

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 )

Author

Jonathan M. Lees<jonathan.lees@unc.edu>

Details

Writes files to disk in local directory.

See Also

SavePF, RSEIS

Examples

Run this code

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() )




Run the code above in your browser using DataLab