Description Usage Arguments Author(s) Examples
This runs the GLM model on the specific simulation stored in sim_folder
.
The specified sim_folder
must contain a valid NML file.
1 |
sim_folder |
the directory where simulation files are contained |
verbose |
should output of GLM be shown |
args |
Optional arguments to pass to GLM executable |
Jordan Read, Luke Winslow
1 2 3 4 5 6 7 8 9 10 11 | sim_folder <- system.file('extdata', package = 'GLMr')
run_glm(sim_folder)
## Not run:
out_file <- file.path(sim_folder,'output.nc')
nml_file <- file.path(sim_folder,'glm2.nml')
library(glmtools)
fig_path <- tempfile("temperature", fileext = '.png')
plot_temp(file = out_file, fig_path = fig_path)
cat('find plot here: '); cat(fig_path)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.