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 <[email protected]>

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 Dec. 17, 2018, 9:14 a.m.