fHRTimestampforREddyProc: Match hourly flux data to a 'perfect' timestamp (no gaps)

Description Usage Arguments

View source: R/fHRTimestampforREddyProc.R

Description

REddyProc is expecting input files formatted in a very particular way: https://www.bgc-jena.mpg.de/bgi/index.php/Services/REddyProcWebDataFormat. Unforunately, when we parse out our data, it oftens violates this required format (esp on leapyears). To get around this issue, these functions generate a list of dataframes for each year from 1980-2100 (plenty of time to work with).

Usage

1
fHRTimestampforREddyProc(dat, yr, YY, DD, HH)

Arguments

dat

a dataframe containing half-hourly timestamps.

yr

the current process year.

YY

specify the column name containing the YEAR timestamp

DD

specify the column name containing the DAY OF YEAR timestamp (e.g. 1-366)

HH

specify the column name containing the HOUR timestamp (e.g. 0-23).


ksmiff33/FluxSynthU documentation built on Dec. 15, 2020, 10:29 p.m.