summary.scan: Inspect a scan ('scan')

View source: R/scan.R

summary.scanR Documentation

Inspect a scan (scan)

Description

R base functions for inspecting a scan (scan) object.

Usage

## S3 method for class 'scan'
summary(object, ...)

is.scan(x)

## S3 method for class 'scan'
dim(x)

Arguments

object

A scan object.

...

Additional arguments affecting the summary produced.

x

A scan object.

Details

A scan (or sweep) is made by the radar at a certain elevation angle. The resulting parameter data (param) are organized along radar range (bins) and azimuth (rays). A scan (scan) object is a list containing:

  • radar: Radar identifier.

  • datetime: Nominal time of the volume to which the scan belongs in UTC.

  • params: List of scan parameters (param).

  • attributes: List of the scan's what, where and how attributes.

  • geo: List of the scan's geographic properties:

    • lat: Latitude of the radar in decimal degrees.

    • lon: Longitude of the radar in decimal degrees.

    • height: Height of the radar antenna in meters above sea level.

    • elange: Elevation angle of the radar beam for that scan in degrees.

    • rscale: Range bin size for that scan in m (e.g. 500 m * 480 bins equals 240 km range).

    • ascale: Azimuth bin size for that scan in degrees (e.g. 1 degree * 360 rays equals full circle).

    • rstart: The range where the first range gate starts in meters (note ODIM stores it as kilometers)

    • astart: The start of the first ray.

Value

For summary.scan(): prints a summary of the scan object

For is.scan(): TRUE for an object of class scan, otherwise FALSE.

For dim.scan(): number of parameters (param), bins and rays in a scan (scan).

See Also

  • get_scan()

  • example_scan

  • plot.scan()

  • get_param()

Examples

# Check if an object is of class scan
is.scan(example_scan)

# Get summary info
example_scan # Same as summary(example_scan) or print(example_scan)

# Get dimensions
dim(example_scan)

# Get summary info for the parameters in the scan
example_scan$params

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