Checks which data class is contained in ODIM HDF5 file

get_odim_object_type(file)

Arguments

file

A string containing a file name.

Value

character string pvol for polar volume, vp for vertical profile, otherwise NA

Examples

# locate a polar volume file: pvolfile <- system.file("extdata", "volume.h5", package = "bioRad") # check the data type: get_odim_object_type(pvolfile) # > "PVOL"
#> [1] "PVOL"