vp
) or a list of vertical profiles
(vp
) from filesR/read_vpfiles.R
read_vpfiles.Rd
Read a vertical profile (vp
) or a list of vertical profiles
(vp
) from files
read_vpfiles(files)
files | A character vector containing the file names of vertical profiles in ODIM HDF5 format generated by calculate_vp. |
---|
A single vp
object or a list of vp
objects.
# 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/hq/tlbyscp93lq2js72t62dkbrh2z_dgv/T/RtmpCaqkHR/temp_libpath751d667c341b/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", ...)) }