SILOWriteforSource: Write a SILO time series to a csv file in the format expected...

View source: R/SILOWriteforSource.R

SILOWriteforSourceR Documentation

Write a SILO time series to a csv file in the format expected by eWater Source

Description

Write a SILO time series to a csv file in the format expected by eWater Source

Usage

SILOWriteforSource(SILO, col, filename, scalefactor = 1)

Arguments

SILO

a list of sites with SILO data, as created by SILOLoad()

col

Name of a column in a silo file to write out, e.g. Rain

filename

file to write to.

scalefactor

factor to scale the data by. Defaults to 1. Useful for Pan evap or rainfall scaling. Could also be a vector, with a value for each station in SILO

Value

Nothing to the R environment. SILO data is written to "filename".

Examples

 
## Not run: 
X<-SILOLoad(c("24001","24002","24003"),path="./SWTools/extdata")
SILOWriteforSource(X,"Rain",tempfile("Rainfall",fileext=".csv"))

## End(Not run)


SWTools documentation built on May 31, 2023, 6:24 p.m.