get_odim_object_type: Check the 'data' type of an ODIM HDF5 file

View source: R/pvolfile.R

get_odim_object_typeR Documentation

Check the data type of an ODIM HDF5 file

Description

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.

Usage

get_odim_object_type(file)

Arguments

file

Character. Path of the file to check.

Value

Character. PVOL for polar volume, VP for vertical profile, otherwise NA.

See Also

  • is.pvolfile()

  • is.vpfile()

Examples

# Locate the polar volume example file
pvolfile <- system.file("extdata", "volume.h5", package = "bioRad")

# Check the data type
get_odim_object_type(pvolfile)

bioRad documentation built on Oct. 20, 2023, 5:06 p.m.