clean_all_files: Clean all eddy covariance data files in a directory

View source: R/Clean_All_Files.R

clean_all_filesR Documentation

Clean all eddy covariance data files in a directory

Description

This function automates filtering and gap filling of eddy- covariance data by filling gaps using functions from zoo and uses a Hampel filter from the R package pracma to filter the time series and remove outliers. Use this function to clean a series of eddy covariance data.

Usage

clean_all_files(
  directory = "~/Eddy Covariance Data/",
  time_zone = "Asia/Manila"
)

Arguments

directory

The directory where the eddy covariance data files are stored that you wish to use to calculate ET values

time_zone

The time zone for which the data is native. Defaults to Asia/ Manila for IRRI HQ. Should not be changed unless you know what you are doing and are outside of IRRI HQ

Examples

## Not run: 
clean_all_files(directory = "~/Eddy Covariance Data/")

## End(Not run)


adamhsparks/EddyCleanR documentation built on Dec. 15, 2022, 2:47 a.m.