psi_data_constructor: Create a PsiData object from results of Quality Checks

View source: R/df_functions.R

psi_data_constructorR Documentation

Create a PsiData object from results of Quality Checks

Description

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

Usage

psi_data_constructor(
  psi_data = NULL,
  site_md = NULL,
  plant_md = NULL,
  question_md = NULL,
  solar_timestamp = NULL,
  parent_logger = "test"
)

Arguments

psi_data

Data frame with metadata and psi data after QC process

site_md

Data frame with site metadata after QC process

plant_md

Data frame with plant metadata after QC process

question_md

Data frame with questionnaire data after QC process

solar_timestamp

Vector with solar timestamp

methods_md

Data frame with methods metadata after QC process

Details

psi_data_constructor function generates a PsiData object containing all relevant data and metadata for a site. Add flags to psi_data as NA_ADDED. Original NAs are also flagged as NA_PRESENT. For info about the available slots see PsiData, psi_get_methods and psi_replacement

Value

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

See Also

Other Data Flow: df_accepted_to_lvl1_psi(), df_copy_templates_psi(), df_folder_structure(), df_get_data_folders(), df_get_status(), df_read_psiData(), df_received_to_accepted_psi(), df_report_folder_creation(), df_reset_data_status_psi(), df_set_status_psi(), df_start_status_psi(), df_whos_ready_to()


vflo/PSIsapfluxnetQC1 documentation built on Feb. 15, 2024, 3:19 a.m.