Skip to contents

Get H and Q Series from CSV File

Usage

getHQSeriesFromCSV(
  srcfile,
  DN,
  sep = "\t",
  timeFormat = NULL,
  hoffset = 0.02,
  addTimeColumns = TRUE,
  additionalColumns = c("I_mA", "Battery_V"),
  ...
)

Arguments

srcfile

full path to csv file generated by radar probe

DN

DN in mm. Must be one of 150, 300.

sep

column separator. Default: Tabulator "\t"

timeFormat

format of timestamp. Default: "%d.%m.%Y %H:%M"

hoffset

level offset to be subtracted from the measured level in order to get the level above the flume

addTimeColumns

if TRUE, time columns containing local date and time are added

additionalColumns

names of additional columns to be imported. One of c("I_mA", "Battery_V", "DeviceID")

...

further arguments passed to readLogger_Ori_MLog, e.g. stopOnMissingColumns

Value

data frame with columns BerlinDateTimeNoDST (no daylight saving time adjustment!), Hraw_m (measured height in m), H_m

(corrected height [= measured height minus offset] in m),Q_L_s

(calculated discharge in L/s). If addTimeColumns is TRUE the columns

BerlinDateTime and UTCOffset will be added.