Check whether a file is a polar volume in ODIM HDF5 format that can be read with package bioRad
is.pvolfile(file, filename = NULL)
file | A string containing a file name. |
---|---|
filename | Deprecated argument, use file instead. |
TRUE when file
is a polar volume in readable format,
otherwise FALSE
The function checks whether a HDF5 file provided as input is a polar volume in ODIM HDF5 format. The function currently evaluates to FALSE for NEXRAD and IRIS RAW polar volume files.
# locate example file: pvolfile <- system.file("extdata", "volume.h5", package = "bioRad") # check that the file is an ODIM HDF5 polar volume: is.pvolfile(pvolfile) # > TRUE#> [1] TRUE