sEddyProc_initialize: sEddyProc initialize

View source: R/aEddy.R

sEddyProc_initializeR Documentation

sEddyProc initialize

Description

Initializing sEddyProc class during sEddyProc$new.

Usage

sEddyProc_initialize(ID = ID.s, Data = Data.F, 
    ColNames = c("NEE", "Rg", "Tair", "VPD", 
        "Ustar"), ColPOSIXTime = "DateTime", 
    DTS = if (!missing(DTS.n)) DTS.n else 48, 
    ColNamesNonNumeric = character(0), LatDeg = NA_real_, 
    LongDeg = if (!missing(Long_deg.n)) Long_deg.n else NA_real_, 
    TimeZoneHour = if (!missing(TimeZone_h.n)) TimeZone_h.n else NA_integer_, 
    ID.s, Data.F, ColNames.V.s, ColPOSIXTime.s, 
    DTS.n, ColNamesNonNumeric.V.s, Lat_deg.n, 
    Long_deg.n, TimeZone_h.n, ...)

Arguments

ID

String with site ID

Data

Data frame with at least three month of (half-)hourly site-level eddy data

ColNames

Vector with selected column names, the fewer columns the faster the processing. The default specifies column names assumed in further processing.

ColPOSIXTime

Column name with POSIX time stamp

DTS

Daily time steps

ColNamesNonNumeric

Names of columns that should not be checked for numeric type, e.g. season column

LatDeg

Latitude in (decimal) degrees (-90 to + 90)

LongDeg

Longitude in (decimal) degrees (-180 to + 180)

TimeZoneHour

Time zone: hours shift to UTC, e.g. 1 for Berlin

ID.s

deprecated

Data.F

deprecated

ColNames.V.s

deprecated

ColPOSIXTime.s

deprecated

DTS.n

deprecated

ColNamesNonNumeric.V.s

deprecated

Lat_deg.n

deprecated

Long_deg.n

deprecated

TimeZone_h.n

deprecated

...

('...' required for initialization of class fields)

Details

The time stamp must be provided in POSIX format, see also fConvertTimeToPosix. For required properties of the time series, see fCheckHHTimeSeries.

Internally the half-hour time stamp is shifted to the middle of the measurement period (minus 15 minutes or 30 minutes).

All other columns may only contain numeric data. Please use NA as a gap flag for missing data or low quality data not to be used in the processing. The columns are also checked for plausibility with warnings if outside range.

There are several fields initialized within the class.

sID is a string for the site ID.

sDATA is a data frame with site data.

sTEMP is a temporal data frame with the processing results.

sINFO is a list containing the time series information:

DIMS

Number of data rows

DTS

Number of daily time steps (24 or 48)

Y.START

Starting year

Y.END

Ending year

Y.NUMS

Number of years

Y.NAME

Name for years

sUSTAR_SCEN a data.frame with first column the season, and other columns different uStar threshold estimates, as returned by usGetAnnualSeasonUStarMap

sLOCATION is a list of information on site location and timezone (see sEddyProc_sSetLocationInfo).

sTEMP is a data frame used only temporally.

Value

Initialized fields of sEddyProc.

Author(s)

AMM Department for Biogeochemical Integration at MPI-BGC, Jena, Germany <REddyProc-help@bgc-jena.mpg.de> [cph], Thomas Wutzler <twutz@bgc-jena.mpg.de> [aut, cre], Markus Reichstein <mreichstein@bgc-jena.mpg.de> [aut], Antje Maria Moffat <antje.moffat@bgc.mpg.de> [aut, trl], Olaf Menzer <omenzer@bgc-jena.mpg.de> [ctb], Mirco Migliavacca <mmiglia@bgc-jena.mpg.de> [aut], Kerstin Sickel <ksickel@bgc-jena.mpg.de> [ctb, trl], Ladislav <U+0160>igut <sigut.l@czechglobe.cz> [ctb]


REddyProc documentation built on May 29, 2024, 12:10 p.m.