Read a time series of vertical profiles (vpts
) from file
read_stdout(file, radar, lat, lon, height, wavelength = "C", sep = "")
A text file containing the standard output (stdout) generated
by vol2bird (or the package function calculate_vp
).
A string containing a radar identifier.
numeric. Latitude of the radar in decimal degrees.
numeric. Longitude of the radar in decimal degrees.
numeric. Height above sea level of the radar antenna in meters.
Radar wavelength in cm, or one of 'C' or 'S' for C-band and S-band radar, respectively, in which case C-band wavelength is assumed to be 5.3 cm and S-band wavelength 10.6 cm
the field separator character, see utils::read.table
An object inheriting from class vpts
, see
vpts()
for details.
# locate example file:
stdout_file <- system.file("extdata", "example_vpts.txt", package = "bioRad")
# load time series:
ts <- read_stdout(stdout_file, radar = "KBGM", wavelength = "S")
ts
#> Irregular time series of vertical profiles (class vpts)
#>
#> radar: KBGM
#> # profiles: 11
#> time range (UTC): 2016-09-02 00:16:00 - 2016-09-02 01:52:00
#> time step (s): min: 540 max: 600