pushSmetIntoIni: Pushes SMET object file into a 'meteoioini-class' object

Description Usage Arguments Value Examples

View source: R/pushsmetintoini.R

Description

Pushes SMET object file into a meteoioini-class object

Usage

1
2
3
pushSmetIntoIni(..., smetlist = NULL, ini = as.meteoioini("test"),
  smetwdir = system.file("temp", package = "RSMET"), force.smetdir = TRUE,
  new.ini.file = NA, append = FALSE)

Arguments

...

smet-class objects

smetlist

(alternative) list of smet-class objects

ini

a meteoioini-class object

smetwdir

optional working directory used for SMET writing on disks. Default is the package internal directory system.file("temp",package="RSMET").

force.smetdir

logical value. In case it is TRUE the SMETs are written on smetwdir directory, otherwise thay can be written on slot(ini,"Input")$METEOPAH directory if specified.

new.ini.file

character string. DEfault is NA. If it is specified, the returned meteoioini-class object is saved as the new.ini.file file.

append

logical value. Default is codeFALSE. If it is TRUE SMETs will be appended to the pre-existing ones. If it is TRUE, force.smetdir and smetwdir arguments will be ingored.

Value

An updated meteoioini-class object.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
ini <- as.meteoioini("test")

AA <- as.smet("test")
BB <- as.smet("test")


newini <- pushSmetIntoIni(AA,BB,ini=ini)
newini <- pushSmetIntoIni(AA=AA,BB=BB,ini=ini)
newini <- pushSmetIntoIni(AA=AA,BB=BB,ini=ini)




##  NOT YET IMPLEMENTED

RSMET documentation built on April 24, 2018, 5:04 p.m.

Related to pushSmetIntoIni in RSMET...