Checks what type of data
object is contained in an ODIM HDF5 file. See
ODIM specification,
Table 2 for a full list of existing ODIM file object types.
get_odim_object_type(file)
Character. PVOL
for polar volume, VP
for vertical profile,
otherwise NA
.
# Locate the polar volume example file
pvolfile <- system.file("extdata", "volume.h5", package = "bioRad")
# Check the data type
get_odim_object_type(pvolfile)
#> [1] "PVOL"