read_vpfiles: Read a vertical profile ('vp') or a list of vertical profiles...

View source: R/read_vpfiles.R

read_vpfilesR Documentation

Read a vertical profile (vp) or a list of vertical profiles (vp) from files

Description

Read a vertical profile (vp) or a list of vertical profiles (vp) from files

Usage

read_vpfiles(files)

Arguments

files

A character vector containing the file names of vertical profiles in ODIM HDF5 format generated by calculate_vp.

Value

A single vp object or a list of vp objects.

Examples

# locate example profile file:
vpfile <- system.file("extdata", "profile.h5", package = "bioRad")

# print the local path of the profile file:
vpfile

# load the file:
read_vpfiles(vpfile)

# to load multiple files at once:
read_vpfiles(c(vpfile, vpfile))

bioRad documentation built on Oct. 20, 2023, 5:06 p.m.