fLoadTXTIntoDataframe: Load text file with one header and one unit row into data...

Description Usage Arguments Details Value Author(s) Examples

View source: R/FileHandling.R

Description

If gaps with the flag -9999.0 exist, these are set to NA.

Usage

1
fLoadTXTIntoDataframe(FileName.s, Dir.s = "")

Arguments

FileName.s

File name as a character string

Dir.s

Directory as a character string

Details

Alternatively fLoadFluxNCIntoDataframe loads data from NetCDF-Files. In addition, fLoadEuroFlux16 loads data from several annual files in format corresponding to europe-fluxdata 2016.

For using only part of the records, use fFilterAttr to keep units attributes.

Value

Data frame with data from text file.

Author(s)

AMM (Department for Biogeochemical Integration at MPI-BGC, Jena, Germany)

Examples

1
2
3
4
if( FALSE ) { #Do not always execute example code (e.g. on package installation)
  Dir.s <- paste(system.file(package='REddyProc'), 'examples', sep='/')
  EddyData.F <- fLoadTXTIntoDataframe('Example_DETha98.txt',Dir.s)
}

REddyProc documentation built on May 31, 2017, 3:09 a.m.