fdk_downsample_fluxnet: Down samples half-hourly FLUXNET data to daily values

View source: R/fdk_downsample_fluxnet.R

fdk_downsample_fluxnetR Documentation

Down samples half-hourly FLUXNET data to daily values

Description

Down sampling of GPP values is done at-hoc using a simple mean or similar per FLUXNET data specifics.

Usage

fdk_downsample_fluxnet(df, site, out_path, overwrite = FALSE)

Arguments

df

a half-hourly FLUXNET data frame

site

sitename of a site to process

out_path

the path where to store the converted data

overwrite

overwrite existing output file

Details

Normally the flux data is generated using a dedicated flux processing workflow. Therefore the data are not 100 should have an R2 > 0.95, with only auto-correlated errors in the NT product.

This function and the data generated should be used with caution, knowing the limitations that this routine implies with respect to all variables included.

Value

data frame with daily (DD) down sampled values or file in the FLUXNET format


computationales/flux_data_kit documentation built on Feb. 23, 2025, 8:19 p.m.