fdk_plot: Plot FluxDataKit output

View source: R/fdk_plot.R

fdk_plotR Documentation

Plot FluxDataKit output

Description

Simple routine to generate an overview plot of all flux and climate data. The function takes a data frame of FLUXNET formatted columns as input (this can be either original source material or gap filled data as generated by FluxDataKit).

Usage

fdk_plot(
  df,
  site = "sitename",
  out_path = "data/tmp",
  overwrite = FALSE,
  daily = FALSE
)

Arguments

df

data frame with FLUXNET based data

site

a FLUXNET site name to process

out_path

the path where to store the plot

overwrite

overwrite existing files (TRUE or FALSE) stored

daily

whether daily or hourly data is to be plotted, defaults to FALSE.

Details

Plots are not returned (shown) in the current interface but only written to file to allow for headless batch processing (with limited overhead).

Value

A plot with FLUXNET variables for rapid visual data inspection


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