getField_ICOS: Get a Field for ICOS

View source: R/Format-ICOS.R

getField_ICOSR Documentation

Get a Field for ICOS

Description

An internal function that reads data from ICOS observations.

Usage

getField_ICOS(
  source,
  quant,
  layers = NULL,
  target.STAInfo,
  file.name,
  verbose,
  UT.threshold = "VUT",
  method = "REF",
  day.night.method = "NT",
  NEE.day.night = NULL,
  first.year,
  last.year,
  rm.leap = TRUE,
  data.cleaning = TRUE,
  qc.threshold = 0.5,
  ...
)

Arguments

source

A Source containing the meta-data about the ICOS observations

quant

A Quantity object to define what quantity from the ICOS observations to extract

layers

Ignored for ICOS

target.STAInfo

The spatial-temporal target domain

file.name

Character string holding the name of the file. This can be left blank, in which case the file name is just taken to be "quant@id.out" (also "quant@id.out.gz")

verbose

A logical, set to true to give progress/debug information

UT.threshold

USTAR threshold, variable (VUT) or constant (CUT). VUT is default

method

Method, e.g. REF, USTAR50, MEAN. REF is default

day.night.method

Nighttime (NT) or daytime (DT) partition method for GPP and Reco. Default is NT

NEE.day.night

Set to DAY or NIGHT for only daytime or nighttime NEE. Default is NULL

first.year

Optional, will exclude data before this year

last.year

Optional, will exclude data beyond this year

rm.leap

A logical, set to true to remove leap days

data.cleaning

A logical, set to true to apply data cleaning

qc.threshold

Optional, set to a value between 0 and 1 below which data will be set to NA. Default is 0.5. Set to NULL to omit this from data cleaning

Value

A list containing firstly the data.table containing the data, and secondly the STA.info

Author(s)

Margot Knapen margot.knapen@nateko.lu.se


MagicForrest/DGVMBenchmarks documentation built on April 14, 2025, 5:31 a.m.