write.geotop.table: Writes an R object ('data.frame' or 'zoo') into a CSV file...

View source: R/write.geotop.table.R

write.geotop.tableR Documentation

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 documentation built on Aug. 10, 2023, 1:06 a.m.