Checks whether a file is a vertical profile (vp) in the ODIM HDF5 format that can be read with bioRad.

is.vpfile(file)

Arguments

file

Character. Path of the file to check.

Value

TRUE for a vertical profile file in readable format, otherwise FALSE.

Examples

# Locate the vertical profile example file
vpfile <- system.file("extdata", "profile.h5", package = "bioRad")

# Check if it is a vpfile
is.vpfile(vpfile)
#> [1] TRUE