Read a 3D-COL acceleration record (ACA, ACB, LIS).
readAC.RdOne file holds 3 components as parallel columns:
ACA (IGP Peru): cols
Z N Eafter a header row.ACB (CISMID Peru): cols
T EW NS UD; the time columnTis dropped.LIS (UCR Costa Rica): cols
N00E UPDO N90Eafter a===DATA===line.
Examples
file <- tempfile()
writeLines(c(
"MUESTREO : 100",
" Z N E",
"1 2 3",
"4 5 6"
), file)
readAC(file, type = "ACA")
#> t OCID s
#> <num> <char> <int>
#> 1: 0.00 Z 1
#> 2: 0.01 Z 4
#> 3: 0.00 N 2
#> 4: 0.01 N 5
#> 5: 0.00 E 3
#> 6: 0.01 E 6