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

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

if (FALSE) { vps <- read_vpfiles(c("my/path/profile1.h5", "my/path/profile2.h5", ...)) ts <- bind_into_vpts(vps) }