availableQuantities_NetCDF: List all LPJ-GUESS *.out files in a source directory

View source: R/Format-NetCDF.R

availableQuantities_NetCDFR Documentation

List all LPJ-GUESS *.out files in a source directory

Description

Simply lists all LPJ-GUESS output variables (stored as .out files) available in a directory. Also ignores some common red herrings like "guess.out" and "*.out"

Usage

availableQuantities_NetCDF(source, names)

Arguments

source

A Source containing the meta-data about the NetCDF source

names

Logical, if TRUE return a character vector of names of available quantities, if FALSE return a list of the actual Quantities.

Value

A list of all the .out files present, with the ".out" removed.

Author(s)

Matthew Forrest matthew.forrest@senckenberg.de


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