Learn R Programming

bioRad (version 0.9.1)

read_vpts: 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, ...)

Value

vpts object.

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.

Examples

Run this code
## 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")

Run the code above in your browser using DataLab