Select a vertical profile (vp) or a time series of vertical profiles (vpts) by index from a vpts

# S3 method for vpts
[(x, i)

Arguments

x

Object of class vpts.

i

Indices specifying elements to extract.

Examples

# we start with the example vertical profile time series: data(example_vpts) example_vpts
#> Irregular time series of vertical profiles (class vpts) #> #> radar: KBGM #> # profiles: 1934 #> time range (UTC): 2016-09-01 00:02:00 - 2016-09-10 11:56:00 #> time step (s): min: 180 max: 16320
# extract the 10th profile in the time series (returns a vp object) example_vpts[10]
#> Vertical profile (class vp) #> #> radar: KBGM #> source: #> nominal time: 2016-09-01 00:38:00 #> generated by:
# extract the 20th to 100th profile form the time series (returns a vpts object) example_vpts[20:100]
#> Irregular time series of vertical profiles (class vpts) #> #> radar: KBGM #> # profiles: 81 #> time range (UTC): 2016-09-01 01:18:00 - 2016-09-01 07:36:00 #> time step (s): min: 240 max: 420