Skip to content

Commit 61395bd

Browse files
committed
add wrapper function to driver
1 parent 36060bc commit 61395bd

File tree

6 files changed

+760
-732
lines changed

6 files changed

+760
-732
lines changed

NEWS.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ ClimaCoupler.jl Release Notes
66

77
### ClimaCoupler features
88

9+
#### Driver function `setup_and_run` added PR[#1178](https://github.com/CliMA/ClimaCoupler.jl/pull/1178)
10+
A new function `setup_and_run` is added, which takes in a path to a config file,
11+
and contains all the code to initialize component models and run the simulation.
12+
This function is needed for calibration to easily run multiple simulations
13+
with different parameters. This function is moved to a different file
14+
`experiments/ClimaEarth/setup_run.jl`, so it can be included by the `run_amip.jl`
15+
driver, or by another driver used for calibration.
16+
917
#### Postprocessing no longer uses `sim_mode` PR[#1153](https://github.com/CliMA/ClimaCoupler.jl/pull/1153)
1018
Postprocessing now consists of a single function that's used for all simulation
1119
modes. Note that now all available diagnostics will be plotted at the end of

experiments/ClimaEarth/cli_options.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ function argparse_settings()
77
"--config_file"
88
help = "A yaml file used to set the configuration of the coupled model [\"config/ci_configs/amip_default.yml\" (default)]"
99
arg_type = String
10-
default = "config/ci_configs/amip_default.yml"
10+
default = joinpath(pkgdir(ClimaCoupler), "config/ci_configs/amip_default.yml")
1111
"--job_id"
1212
help = "A unique identifier for this run, defaults to the config file name"
1313
arg_type = String

0 commit comments

Comments
 (0)