Learn R Programming

bioRad (version 0.9.1)

is.pvolfile: Check if a file is a polar volume (pvol)

Description

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()).

Usage

is.pvolfile(file)

Value

TRUE for a polar volume file in readable format, otherwise FALSE.

Arguments

file

Character. Path of the file to check.

See Also

  • read_pvolfile()

  • get_odim_object_type()

  • is.pvol()

Examples

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

# Check if it is a pvolfile
is.pvolfile(pvolfile)

Run the code above in your browser using DataLab