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

View source: R/pvolfile.R

is.pvolfileR Documentation

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)

Arguments

file

Character. Path of the file to check.

Value

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

See Also

  • read_pvolfile()

  • get_odim_object_type()

  • is.pvol()

Examples

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

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

adokter/birdRad documentation built on Nov. 5, 2024, 10:27 p.m.