-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
53 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
|
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# This config file has default config options for the ocean core | ||
|
||
# The paths section points COMPASS to external paths | ||
[paths] | ||
|
||
# the relative or absolute path to the root of a branch where MPAS-Ocean | ||
# has been built | ||
mpas_model = MPAS-Model/ocean/develop | ||
|
||
# The namelists section defines paths to example_compact namelists that will be used | ||
# to generate specific namelists. By default, these point to the forward and | ||
# init namelists in the default_inputs directory after a successful build of | ||
# the ocean model. Change these in a custom config file if you need a different | ||
# example_compact. | ||
[namelists] | ||
forward = ${paths:mpas_model}/default_inputs/namelist.ocean.forward | ||
init = ${paths:mpas_model}/default_inputs/namelist.ocean.init | ||
|
||
# The streams section defines paths to example_compact streams files that will be used | ||
# to generate specific streams files. By default, these point to the forward and | ||
# init streams files in the default_inputs directory after a successful build of | ||
# the ocean model. Change these in a custom config file if you need a different | ||
# example_compact. | ||
[streams] | ||
forward = ${paths:mpas_model}/default_inputs/streams.ocean.forward | ||
init = ${paths:mpas_model}/default_inputs/streams.ocean.init | ||
|
||
|
||
# The executables section defines paths to required executables. These | ||
# executables are provided for use by specific test cases. Most tools that | ||
# COMPASS needs should be in the conda environment, so this is only the path | ||
# to the MPAS-Ocean executable by default. | ||
[executables] | ||
model = ${paths:mpas_model}/ocean_model |
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
def collect(): | ||
""" | ||
Get a list of testcases in this configuration | ||
Returns | ||
------- | ||
testcases : list | ||
A dictionary of configurations within this core | ||
""" | ||
testcases = list() | ||
for configuration in []: | ||
testcases.extend(configuration.collect()) | ||
|
||
return testcases |
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