Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

write.geotop.table

Writes an R object (data.frame or zoo) into a CSV file readible by GEOtop.


Description

Writes an R object (data.frame or zoo) into a CSV file readible by GEOtop.

Usage

write.geotop.table(x, file, wpath = NULL, tz = "Etc/GMT-1",
  date_field = "Date12.DDMMYYYYhhmm.", file_end = "", sep = ",",
  format = "%d/%m/%Y %H:%M", na = "-9999", ...)

Arguments

x

R object (data.frame or zoo) to be exported and written.

file

filename

wpath

working path to the GEOtop simlation. If wpath is not NULL , filename will be put in wpath.

tz

time zone. Default is "Etc/GMT-1". See get.geotop.inpts.keyword.value fur further details.

date_field

string used for date-time field. Deafult is "Date12.DDMMYYYYhhmm.". See get.geotop.inpts.keyword.value fur further details.

file_end

suffix of the file name (file) (optional). Default is "".

sep

separator character. Default is ",". See write.table fur further details.

format

date time format. Default is "%d/%m/%Y %H:%M". See get.geotop.inpts.keyword.value fur further details.

na

string for unassigned values. Defaults is "-9999". See write.table fur further details.

...

further arguments for write.table.


geotopbricks

An R Plug-in for the Distributed Hydrological Model GEOtop

v1.5.4
GPL (>= 2)
Authors
Emanuele Cordano, Daniele Andreis, Fabio Zottele
Initial release
2020-02-10

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.