Description Usage Arguments Examples
View source: R/dart_prep_streamflow.R
WriteDischargeObsSeq
makes variances for prettyUsgs discharge observations. The formulation
of the variances is subjective. Assuming zero-mean Gaussian observation errors, the approach
here is to supply a function which estimates the 3-sigma (inner 99.5
the observations. This amount seems somewhat easier to conceptualize than 1-sigma, hence here
we are. This function divides the error amounts by 3 and either returns the standard deviation
or squares the result to return the variance (default).
1 2 3 4 |
outPath |
Character The directory where the file is to be written. |
pretty |
The prettyUsgs discharge observations to which variances are to be added. |
stationName |
Character To help identify the outputfile and the station data in the file. |
errorId |
Character To help identify the outputfile and the error function used. |
typeQ |
Numeric Stream discharge obs type index in my pre-release version of DART. It could change. DART/obs_kind/DEFAULT_obs_kind_mod.F90 |
1 2 3 4 5 | #Following on examples for MkDischargeVariance
## Not run:
WriteDischargeObsSeq(prettyOro, '~/.', 'orodell', 'climTaperDefault')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.