vplist_to_vpts: Bind vertical profiles ('vp') into time series ('vpts')

View source: R/bind_into_vpts.R

vplist_to_vptsR Documentation

Bind vertical profiles (vp) into time series (vpts)

Description

Used as helper function for the method dispatched bind_into_vpts and keeping backward compatibility with the vpts function.

Usage

vplist_to_vpts(x, radar = NA)

Arguments

x

A list of vp objects, usually a result of a call to read_vpfiles.

radar

optional string containing the radar identifier to generate time series for.

Value

an object of class vpts when list contains profiles of a single radar. A list of objects of class vpts in case when list contains profiles of multiple radars, containing vpts objects for each radar.

Examples

vpfile1 <- system.file("extdata", "profile.h5", package = "bioRad")
vpfile2 <- vpfile1
vps <- read_vpfiles(c(vpfile1,vpfile2))
ts <- bind_into_vpts(vps)

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