sfn_replacement: Replacement methods

Description Usage Details Value

Description

Methods for replacing the slots with new data or metadata

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
## S4 replacement method for signature 'SfnData'
get_sapf(object) <- value

## S4 replacement method for signature 'SfnData'
get_env(object) <- value

## S4 replacement method for signature 'SfnData'
get_sapf_flags(object) <- value

## S4 replacement method for signature 'SfnData'
get_env_flags(object) <- value

## S4 replacement method for signature 'SfnData'
get_timestamp(object) <- value

## S4 replacement method for signature 'SfnData'
get_solar_timestamp(object) <- value

## S4 replacement method for signature 'SfnData'
get_si_code(object) <- value

## S4 replacement method for signature 'SfnData'
get_site_md(object) <- value

## S4 replacement method for signature 'SfnData'
get_stand_md(object) <- value

## S4 replacement method for signature 'SfnData'
get_species_md(object) <- value

## S4 replacement method for signature 'SfnData'
get_plant_md(object) <- value

## S4 replacement method for signature 'SfnData'
get_env_md(object) <- value

Details

The replacement object must be a valid object for that slot, i.e. for sapflow data slot a data frame with the same dimensions and without TIMESTAMP variable is needed. A validity check is done before returning the replaced SfnData object and an error is returned if this check fails.

Value

The same SfnData object with the corresponding slot changed to the value provided. An error if the value provided generates an invalid SfnData object.


sapfluxnet/sapfluxnetQC1 documentation built on April 11, 2018, 4:28 a.m.