Checks whether a file is a polar volume (pvol
) in the ODIM HDF5 format that
can be read with bioRad. Evaluates to FALSE
for NEXRAD and IRIS RAW polar
volume file (see nexrad_to_odim()
).
is.pvolfile(file)
TRUE
for a polar volume file in readable format, otherwise FALSE
.
# Locate the polar volume example file
pvolfile <- system.file("extdata", "volume.h5", package = "bioRad")
# Check if it is a pvolfile
is.pvolfile(pvolfile)
#> [1] TRUE