Skip to contents

This function add timeUTC as POSIX class, local time and ending sampling time

Usage

obs_addstime(dt, tz = "UTC")

Arguments

dt

obspack data.table

tz

Timezone, default "UTC"

Value

return the same data.frame adding solar time

See also

Other time: obs_addltime(), obs_addtime()

Examples

{
# Do not run
obs <- system.file("data-raw", package = "rtorf")
index <-  obs_summary(obs)
dt <- obs_read(index)
dt <- obs_addtime(dt)
}
#> Number of files of index: 1
#>           sector     N
#>           <char> <int>
#> 1:         flask     1
#> 2: Total sectors     1
#> Detected 0 files with agl
#> Detected 1 files without agl
#> Searching flask...
#> 1: ch4_aoa_aircraft-flask_19_allvalid.txt
#> Adding timeUTC
#> Adding timeUTC_start
#> Adding timeUTC_end