Returns the scan (scan
) from a polar volume (pvol
) with elevation angle
closest to elev
.
get_scan(x, elev)
x | A |
---|---|
elev | Numeric. Elevation angle. |
A scan
object.
# Locate and read the polar volume example file pvolfile <- system.file("extdata", "volume.h5", package = "bioRad") pvol <- read_pvolfile(pvolfile) # Get elevation angles get_elevation_angles(pvol)#> [1] 0.5 1.5 2.5# Extract the scan closest to 3 degrees elevation (= 2.5) scan <- get_scan(pvol, 3) # Get summary info scan#> Polar scan (class scan) #> #> parameters: DBZH VRADH RHOHV ZDR PHIDP #> elevation angle: 2.5 deg #> dims: 480 bins x 360 rays