compass.ocean.tests.global_ocean.metadata.get_e3sm_mesh_names¶
- compass.ocean.tests.global_ocean.metadata.get_e3sm_mesh_names(config, levels)[source]¶
Get short and long E3SM mesh name from config options and the given number of vertical levels (typically taken from an initial condition or restart file).
- Parameters:
config (compass.config.CompassConfigParser) – Configuration options for this test case
levels (int) – The number of vertical levels
- Returns:
short_mesh_name (str) – The short E3SM name of the ocean and sea-ice mesh
long_mesh_name (str) – The long E3SM name of the ocean and sea-ice mesh