Description Usage Arguments Examples
View source: R/prep_run_glm_kd.R
Pulls in the required information to do a simple GLM run. Grabs driver data from SB and attribute data from the internal package DB. Uses supplied Kd values. Does NOT use ice on/off to break up simulation.
1 2 3 4 5 6 7 8 9 | prep_run_glm_kd(
site_id,
path,
years,
kd = getClarity(site_id, default.if.null = TRUE),
nml_args = NULL,
sed_heat = FALSE,
verbose = FALSE
)
|
site_id |
|
path |
Directy to start and run model |
years |
Vector of numeric years to simulate. Will simulate from Apr 01 of the first year to March 01 of the last year + 1 |
kd |
Directly supplied kd value (if different value getClarity desired) |
nml_args |
Arguments for nml file to override defaults |
1 2 3 4 5 6 7 | dir.create('~/test')
dir.create(to_run[i])
prep_run_glm(to_run[i], path=to_run[i],
start=as.POSIXct('1979-01-01'),
end=as.POSIXct('2011-12-31'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.