fdk_convert_lsm.Rd
Reads LSM data (as a netcdf) in a given directory by (fluxnet) site name, optionally only returns the meta-data of the site data.
fdk_convert_lsm(
site,
path,
fluxnet_format = FALSE,
meta_data = FALSE,
out_path,
overwrite = FALSE
)
fluxnet site name
path with plumber2 data (both flux and meteo data files)
convert to fluxnet formatting (TRUE/FALSE)
return meta-data TRUE/FALSE
where to store the converted data if converted to fluxnet formatting and returns both half-hourly and daily data.
overwriting existing files (TRUE/FALSE). Defaults to FALSE.
data frame with merged meteo and flux data
Default parameters return a CSV file which is compatible with the current OneFlux/FLUXNET naming conventions. Returned data will retain its half-hourly (HH) time step. For aggregation to a daily time step consider the `fdk_downsample_fluxnet()` function.