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

create.geotop.inpts.keyword

Creates an 'geotop.inpts' files the keyword and their values of a date.frame like the one returned by declared.geotop.inpts.keywords


Description

Creates an 'geotop.inpts' files the keyword and their values of a date.frame like the one returned by declared.geotop.inpts.keywords

Usage

create.geotop.inpts.keyword(df, file = "geotop.inpts.copy",
  wpath = NULL, comment.lines = "default", header = "default", ...)

Arguments

df

data frame returend by declared.geotop.inpts.keywords

file

connetion or file name where to write 'df'

wpath

complere path to file (optional). Default is NULL.

comment.lines

string or vector of strings to add as comments for each keyword. If it is NULL the comment lines are omitted.

header

string or vector of strings to add as a header. If it is NULL the header is omitted.

...

further arguments for writeLines

Details

In case comment.lines and header are set equal to "default", they are suitably modified within the function code. See the example output.

See Also

Examples

library(geotopbricks)
## Not run: 
#Simulation working path
wpath <- 'https://www.rendena100.eu/public/geotopbricks/simulations/panola13_run2xC_test3'
df <- declared.geotop.inpts.keywords(wpath=wpath)
create.geotop.inpts.keyword(df=df)

## End(Not run)

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.