vpr_ctd_ymd: Add Year/ month/ day hour:minute:second information

View source: R/EC_functions.R

vpr_ctd_ymdR Documentation

Add Year/ month/ day hour:minute:second information

Description

Obtain columns for date and time (i.e., column "ymdhms") and time in hours (i.e., column time_hr) for each row in VPR data frame by utilizing day-of-year, hour, and millisecond outputs from VPR data output.

Usage

vpr_ctd_ymd(data, year, offset)

Arguments

data

VPR data frame from vpr_ctdroi_merge

year

Year of data collection

offset

time offset in hours between VPR CPU and processed data times (optional)

Value

A VPR data frame with columns for date and time (i.e., column 'ymdhms') and hour (i.e., column time_hr)

Examples

year <- 2019
data('ctd_roi_merge')
dat <- vpr_ctd_ymd(ctd_roi_merge, year)



Echisholm21/vprr documentation built on Feb. 9, 2025, 4:21 p.m.