read_cosmosV2: A Function to Read COSMOS V2 (corrected) files

View source: R/read_cosmosV2.R

read_cosmosV2R Documentation

A Function to Read COSMOS V2 (corrected) files

Description

This function reads SMC format corrected data and output a list of date time network, station, channel, time step, and acceleration (in the unit of cm/sec2) of the record.

Usage

read_cosmosV2(file_path, n_comp = 3)

Arguments

file_path

A directory specifies the location of the SMC format files,

n_comp

A number, can be 3 or 1. 3 indicates the SMC file contains all three components together, while 1 indicates the SMC file only contains one component

Value

A list is returned which includes the date time, network, station, channel, time step, and acceleration time series (in the unit of cm/sec2) of the record


wltcwpf/RCTC documentation built on March 5, 2023, 11:01 p.m.