Get a scan (scan
) from a polar volume (pvol
)
get_scan(x, elev)
x | An object of class |
---|---|
elev | Elevation angle. |
An object of class 'scan'.
The function returns the scan with elevation angle closest
to elev
.
# 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