parseFN2STA {RSEIS}R Documentation

get station from file name

Description

station and component are assumed to be the last elements of a file name - this function returns a list with these text strings.

Usage

parseFN2STA(fn)

Arguments

fn text file name

Details

Some format store the station in the file name rather than the seismic header.

Value

list(sta='text station name', comp='compname')

Author(s)

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

Examples


parseFN2STA('/data/wadati/bourbon/GUATEMALA/SEGY/R009.01/07.009.22.25.34.CAS.E')


[Package RSEIS version 2.1-4 Index]