View source: R/SILOWriteforSource.R
SILOWriteforSource | R Documentation |
Write a SILO time series to a csv file in the format expected by eWater Source
SILOWriteforSource(SILO, col, filename, scalefactor = 1)
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 |
Nothing to the R environment. SILO data is written to "filename".
## Not run:
X<-SILOLoad(c("24001","24002","24003"),path="./SWTools/extdata")
SILOWriteforSource(X,"Rain",tempfile("Rainfall",fileext=".csv"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.