getField_aDGVM: Get a Field for aDGVM

View source: R/Format-aDGVM.R

getField_aDGVMR Documentation

Get a Field for aDGVM

Description

An internal function that reads data from an aDGVM run. It actually call one of three other functions depending on the type of quantity specified.

Usage

getField_aDGVM(
  source,
  quant,
  layers = NULL,
  target.STAInfo,
  file.name,
  verbose,
  adgvm.file.type = "Yearly",
  ...
)

Arguments

source

A Source class containing the meta-data about the aDGVM run

quant

A string the define what output file from the aDGVM run to open, for example "anpp" opens and read the "anpp.out" file

layers

Ignored for aDGVM

target.STAInfo

The spatial-temporal target domain

file.name

An optional character string (or a list of character strings) holding the name of the file(s) This can be left blank, in which case the file name is automatically generated.

verbose

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

Value

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

Author(s)

Matthew Forrest matthew.forrest@senckenberg.de

Glenn Moncrieff glenn@saeon.ac.za


MagicForrest/DGVMTools documentation built on Aug. 23, 2024, 8:05 a.m.