df_reset_data_status_psi: Reset the data folder and status file for the si_code given.

View source: R/df_functions.R

df_reset_data_status_psiR Documentation

Reset the data folder and status file for the si_code given.

Description

After manual changes, update the satus file to indicate that QC is needed. Also rename Accepted and Lvl1 data to avoid conflicts with manually changed data.

Usage

df_reset_data_status_psi(si_code, level = "all", parent_logger = "test")

Arguments

si_code

Character vector indicating the site code to reset

level

Character string indicating which level must be reset. Valid values are "LVL1" and "all"

Details

A fast way of reset any site data folder when needed, usually after manual changes of the files. level parameter allows for selecting to which level the status must be reset. "LVL1" indicates that only LVL1 data and status will be reset. "all" resets all data and status to the initial state for the site.

Value

Nothing

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_set_status_psi(), df_start_status_psi(), df_whos_ready_to(), psi_data_constructor()


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