Skip to content
Snippets Groups Projects
Commit 252ef020 authored by Andreas Gattringer's avatar Andreas Gattringer
Browse files

updated vignette to reference configuration file Astmons-quick.conf for shorter simulations

parent 89e9a081
Branches
No related tags found
No related merge requests found
......@@ -138,7 +138,7 @@ install.dir <- "catsr-test"
dir.create(install.dir)
cats_path <- download_and_install_cats(install.dir)
data_path <- download_cats_quickstart_data(install.dir)
config_file <- file.path(data_path, "Astmons-short.conf")
config_file <- file.path(data_path, "Astmons-quick.conf")
result <- run_cats(config_file, working_directory=data_path, path_to_cats=cats_path)
plot_cats_run(result, config_file)
```
......@@ -151,7 +151,7 @@ dir.create(install.dir)
# Don't reinstall or reextract the data if it already exists
cats_path <- download_and_install_cats(install.dir, redownload=F, reextract=F)
data_path <- download_cats_quickstart_data(install.dir, redownload=F, reextract=F)
config_file <- file.path(data_path, "Astmons-short.conf")
config_file <- file.path(data_path, "Astmons-quick.conf")
config <- load_cats_configuration(config_file) # We load the configuration file
config$general.run_name = "Test" # and modify the data frame before we run it
result <- run_cats(config, working_directory=data_path, path_to_cats=cats_path)
......@@ -168,7 +168,7 @@ dir.create(install.dir)
# Don't reinstall or reextract the data if it already exists
cats_path <- download_and_install_cats(install.dir, redownload=F, reextract=F)
data_path <- download_cats_quickstart_data(install.dir, redownload=F, reextract=F)
config_file <- file.path(data_path, "Astmons-short.conf")
config_file <- file.path(data_path, "Astmons-quick.conf")
config <- load_cats_configuration(config_file) # We load the configuration file
# Create new configurations by creating all permutation of the specified values for
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment