read_fdbk_large: Load one fdbk file and return as list of lists of.......

Description Usage Arguments Value Author(s) Examples

View source: R/fdbk_asdataframe.R

Description

Load one fdbk file and return as list of lists of.... condition and vars arguments help to discard data you do not need

Usage

1
read_fdbk_large(fname, condition = "", vars = "")

Arguments

fname

feedback filename (including path)

condition

list of strings of conditions (all of the list entries are connected with the "&" operator!)

vars

vector of variable names that should be retained if not specified or "" all variables are loaded

Value

a data.table with fdbk file content

Author(s)

Felix <felix.fundel@dwd.de>

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
#EXAMPLE 1 (1x1 deg.) bias of satellite data (channel 921 from METOP-1)
fnames      = "~/examplesRfdbk/example_monRad/monRAD_2014092406.nc"
condition   = list(obs="!is.na(obs)",
                   level="level%in%c(921)",
                   statid="statid=='METOP-1   '",
                   veri_forecast_time="veri_forecast_time==0",
                   veri_run_type="veri_run_type==3",
                   veri_ens_member="veri_ens_member==-1")
fdbk         = read_fdbk_large(fnames,condition,c("lon","lat","obs"))
x11(width=12,height=7.5)
scatterplot(fdbk$DATA$lon$values,fdbk$DATA$lat$values,fdbk$DATA$obs$values,pch=20,cex=.5,cpal=tim.colors(),ncol=30);world(add=T)

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