readAC: Read a 3D-COL acceleration record (ACA, ACB, LIS).

View source: R/readAC.R

readACR Documentation

Read a 3D-COL acceleration record (ACA, ACB, LIS).

Description

One file holds 3 components as parallel columns:

  • ACA (IGP Peru): cols ⁠Z N E⁠ after a header row.

  • ACB (CISMID Peru): cols ⁠T EW NS UD⁠; the time column T is dropped.

  • LIS (UCR Costa Rica): cols ⁠N00E UPDO N90E⁠ after a ⁠===DATA===⁠ line.

Usage

readAC(file, type)

Arguments

file

Path to the file.

type

One of "ACA", "ACB", "LIS".

Details

OCIDs come from the file's column header line.

Value

LONG data.table(t, OCID, s).

Examples

file <- tempfile()
writeLines(c(
  "MUESTREO : 100",
  "  Z N E",
  "1 2 3",
  "4 5 6"
), file)
readAC(file, type = "ACA")


gmsp documentation built on July 18, 2026, 5:07 p.m.