compass.MpasCore¶
- class compass.MpasCore(name)[source]¶
The base class for housing all the tests for a given MPAS core, such as ocean, landice or sw (shallow water)
- Variables:
name (str) – the name of the MPAS core
test_groups (dict) – A dictionary of test groups for the MPAS core with their names as keys
cached_files (dict) – A dictionary that maps from output file names in test cases to cached files in the
compass_cachedatabase for the MPAS core. These file mappings are read in fromcached_files.jsonin the MPAS core.
- __init__(name)[source]¶
Create a new container for the test groups for a given MPAS core
- Parameters:
name (str) – the name of the MPAS core
Methods
__init__(name)Create a new container for the test groups for a given MPAS core
add_test_group(test_group)Add a test group to the MPAS core