read_vpts: Read time series of vertical profiles ('vpts') from file(s)

View source: R/read_vpts.R

read_vptsR Documentation

Read time series of vertical profiles (vpts) from file(s)

Description

Reads vpts data from one or more files. The following file formats are supported (but cannot be mixed):

Usage

read_vpts(files, data_frame = FALSE, ...)

Arguments

files

Path(s) to one or more files containing vpts data.

data_frame

When FALSE (default) output a vpts object, when TRUE output a data.frame

...

Additional arguments for backward compatibility, passed to read_stdout.

Value

vpts object.

Examples

## read a vertical profile time series in VPTS CSV format:
vptsfile <- system.file("extdata", "example_vpts.csv", package = "bioRad")
read_vpts(vptsfile)
# read a single vertical profile file in ODIM h5 format:
vpfile <- system.file("extdata", "profile.h5", package = "bioRad")
read_vpts(vpfile)
# read a vertical profile time series in `vol2bird` stdout format:
stdout_file <- system.file("extdata", "example_vpts.txt", package = "bioRad")
read_vpts(stdout_file, radar = "KBGM", wavelength = "S")

adokter/birdRad documentation built on Feb. 1, 2024, 3:40 p.m.