fdbk_dt_multi: Load relevant information of many feedback files as...

Description Usage Arguments Value Author(s) Examples

View source: R/fdbk_asdataframe.R

Description

Load relevant information of many feedback files as data.table Be restrictive with the columns kept in the data.table as otherwise the memory limit is reached fast To speed up computation multiple cores are utilized (if possible)

Usage

1
fdbk_dt_multi(fnames, cond = "", columnnames = "", cores = 1)

Arguments

fnames

vector of feedback filename(s)

cond

string of conditions the fdbk file will be filtered for in advance

columnnames

attribute names to keep in the data table

Value

a data.table of merged feedback file contents

Author(s)

Felix <felix.fundel@dwd.de>

Examples

1
2
3
4
5
fnames      = system("ls ~/examplesRfdbk/icon/synop/verSYNOP.*",intern=T)
cond        = "varno%in%c(3,4) & !is.na(obs)"
columnnames = c("obs","veri_data","varno","veri_forecast_time")
DT          = fdbk_dt_multi(fnames,cond,columnnames,4)
DT

rfxf/Rfdbk documentation built on May 27, 2019, 7:22 a.m.