forked from mdekauwe/CABLE_benchmarking
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add payu test suite for spatial configuration
The spatial test suite runs CABLE with CRUJRA forcing at ACCESS resolution (see [here][cable_example] for more details) over all science configurations and model versions. Spatial tests use the [payu framework][payu]. The payu framework was chosen so that we: - Encourage uptake of payu amongst users of CABLE - Have the foundations in place for running coupled models (atmosphere + land) with payu - Can easily test longer running simulations (payu makes it easy to run a model multiple times and have state persist in the model via restart files) The run directory structure is organised as follows: runs/ ├── spatial │ └── tasks │ ├── <spatial-task-name> (a payu control / experiment directory) │ └── ... ├── payu-laboratory │ └── ... └── fluxsite └── ... Note we have a separate payu-laboratory directory. This is so we keep all CABLE outputs produced by benchcab under the bench_example work directory. Add the ability to build the CABLE executable with MPI at runtime so that we run the spatial configurations with MPI. Add the --mpi flag to benchcab build command so that the user can run the MPI build step independently. Add utility functions for git API requests and manipulating namelist files. Add subcommands to run each step of the spatial workflow in isolation. Add payu key in the benchcab config file so that users can easily configure payu experiments. Fixes #5 [payu]: https://github.com/payu-org/payu [cable_example]: https://github.com/CABLE-LSM/cable_example
- Loading branch information
1 parent
b5fe7fd
commit 659c1d0
Showing
20 changed files
with
987 additions
and
275 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,4 @@ dependencies: | |
- pytest-cov | ||
- pyyaml | ||
- flatdict | ||
- gitpython |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.