Get a scan (scan) from a polar volume (pvol)

get_scan(x, elev)

Arguments

x

An object of class pvol.

elev

Elevation angle.

Value

An object of class 'scan'.

Details

The function returns the scan with elevation angle closest to elev.

Examples

# locate example volume file: pvolfile <- system.file("extdata", "volume.h5", package = "bioRad") # load the file: example_pvol <- read_pvolfile(pvolfile) # extract the scan at 3 degree elevation: scan <- get_scan(example_pvol, 3) # print summary info for this scan: scan
#> Polar scan (class scan) #> #> parameters: DBZH VRADH RHOHV ZDR PHIDP #> elevation angle: 2.5 deg #> dims: 480 bins x 360 rays