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

Description Usage Arguments Details Value See Also

View source: R/df_functions.R

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

1
df_reset_data_status(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 resetted. Valid values are "LVL1", "LVL2" 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 resetted. "LVL1" indicates that only LVL1 data and status will be resetted. "LVL2" resets only LVL2 (warn, rem, units) data and status and "all" resets all data and status to the initial state for the site.

Value

Nothing

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_set_status, df_start_status, df_warn_to_rem, df_whos_ready_to, df_write_SfnData, sfn_data_constructor


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