Description Usage Arguments Value Author(s) See Also Examples
Converted processing from fill_dvpartenv
to monthly aggregated streamflow stored in another R environment
.
1 |
sites |
An optional, likely partial, list of sites within |
dvpartenv |
An R |
envir |
A user created (usually) R |
silent |
Suppress informative calls to |
... |
Additional arguments to pass to control |
This function is used for its side effects on the envir
argument but does return a count of the sites processed by dvpart2mnpart
.
W.H. Asquith
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ## Not run:
# See fill_dvenv() Examples for the creation of wolf.env used here.
# Six USGS streamgages of the Wolf River in Tennessee
wolfriver <- c("07030392", "07030500", "07031650",
"07031660", "07031700", "07031740")
wolf.env <- new.env() # the standard declaration of an environment
fill_dvenv(wolfriver, envir=wolf.env) # wolf.env now filled with six tables.
cdas <- sites_to_SpatialPointsDataFrame(wolfriver)$CDA
pdvwolf.env <- new.env() # the standard declaration of an environment
# Now, let us trigger the gap filler and the messages disappear.
fill_dvpartenv(dvenv=wolf.env, envir=pdvwolf.env, cdas=cdas, fillgaps=TRUE)
pmnwolf.env <- new.env()
dvpartenv2mnpartenv(dvpartenv=pdvwolf.env, envir=pmnwolf.env) #
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.