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

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
#> [1] "/private/var/folders/c2/7_7qg3r93993m4kk3kjqgj2n76h_tn/T/RtmpNbyD3u/temp_libpathb5a8646e3e5b/bioRad/extdata/profile.h5"
# load the file: read_vpfiles(vpfile)
#> Vertical profile (class vp) #> #> radar: seang #> source: WMO:02606,RAD:SE50,PLC:Ängelholm,NOD:seang,ORG:82,CTY:643,CMT:Swedish radar #> nominal time: 2015-10-18 18:00:00 #> generated by: vol2bird 0.3.17
# load multiple files at once: if (FALSE) { # read_vpfiles(c("my/path/profile1.h5", "my/path/profile2.h5", ...)) }