sfn_data_constructor: Create a SfnData object from results of Quality Checks

Description Usage Arguments Details Value See Also

Description

This function gather all the data and metadata generated in the QC process and build an SfnData class object

Usage

1
2
3
sfn_data_constructor(sapf_data = NULL, env_data = NULL, site_md = NULL,
  stand_md = NULL, species_md = NULL, plant_md = NULL, env_md = NULL,
  solar_timestamp = NULL, parent_logger = "test")

Arguments

sapf_data

Data frame with sapflow data after QC process

env_data

Data frame with environmental data after QC process

site_md

Data frame with the site metadata after QC process

stand_md

Data frame with the stand metadata after QC process

species_md

Data frame with the species metadata after QC process

plant_md

Data frame with the plant metadata after QC process

env_md

Data frame with the environmental after QC process

Details

sfn_data_constructor function generates a SfnData object containing all relevant data and metadata for a site. Sapflow and environmental data are converted to the same timestamp span and added rows are flagged as NA_ADDED. Original NAs are also flagged as NA_PRESENT. For info about the available slots see SfnData, sfn_get_methods and sfn_replacement

Value

A SfnData object with all the data and metadata of the site

See Also

Other Data Flow: df_accepted_to_lvl1, df_copy_templates, df_folder_structure, df_get_data_folders, df_get_status, df_lvl1_to_lvl2, df_lvl2_folder_structure, df_read_SfnData, df_received_to_accepted, df_rem_to_units, df_report_folder_creation, df_reset_data_status, df_set_status, df_start_status, df_warn_to_rem, df_whos_ready_to, df_write_SfnData


sapfluxnet/sapfluxnetQC1 documentation built on May 29, 2019, 1:50 p.m.