Learn R Programming

bioRad (version 0.5.2)

example_vpts: Time series of vertical profiles (vpts) example

Description

Example object of class vpts with name example_vpts.

Usage

example_vpts

Arguments

Format

An object of class vpts of dimension 1934 x 25 x 15.

Examples

Run this code
# NOT RUN {
# Reload example_vpts from package (e.g. in case it was altered)
data(example_vpts)

# Get summary info
example_vpts

# example_vpts was created with
# }
# NOT RUN {
vptsfile <- system.file("extdata", "vpts.txt.zip", package = "bioRad")
unzip(vptsfile, exdir = (dirname(vptsfile)), junkpaths = TRUE)
vptsfile <- substr(vptsfile, 1, nchar(vptsfile) - 4)
example_vpts <- read_vpts(vptsfile, radar = "KBGM", wavelength = "S")
rcs(example_vpts) <- 11
sd_vvp_threshold(example_vpts) <- 2
example_vpts$attributes$where$lat <- 42.2
example_vpts$attributes$where$lon <- -75.98
save(example_vpts, file = "data/example_vpts.rda", compress = "xz")
# }

Run the code above in your browser using DataLab