Skip to content

Commit

Permalink
Rename WC14 --> NARRM14
Browse files Browse the repository at this point in the history
  • Loading branch information
xylar committed Feb 27, 2024
1 parent cd6224d commit 79db8a5
Show file tree
Hide file tree
Showing 16 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion compass/ocean/tests/global_ocean/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def __init__(self, mpas_core):

self._add_tests(mesh_names=['SO12to60', 'SOwISC12to60'])

self._add_tests(mesh_names=['WC14', 'WCwISC14'])
self._add_tests(mesh_names=['NARRM14', 'NARRMwISC14'])

# RRS6to18: with and without cavities
self._add_tests(mesh_names=['RRS6to18', 'RRSwISC6to18'])
Expand Down
2 changes: 1 addition & 1 deletion compass/ocean/tests/global_ocean/global_ocean.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ forward_update_pio = True
## metadata related to the mesh
# whether to add metadata to output files
add_metadata = True
# the prefix (e.g. QU, EC, WC, SO)
# the prefix (e.g. QU, EC, NARRM, SO)
prefix = PREFIX
# a description of the mesh
mesh_description = <<<Missing>>>
Expand Down
6 changes: 3 additions & 3 deletions compass/ocean/tests/global_ocean/mesh/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
from compass.ocean.tests.global_ocean.mesh.fris04to60 import FRIS04to60BaseMesh
from compass.ocean.tests.global_ocean.mesh.fris08to60 import FRIS08to60BaseMesh
from compass.ocean.tests.global_ocean.mesh.kuroshio import KuroshioBaseMesh
from compass.ocean.tests.global_ocean.mesh.narrm14 import NARRM14BaseMesh
from compass.ocean.tests.global_ocean.mesh.qu import (
IcosMeshFromConfigStep,
QUMeshFromConfigStep,
)
from compass.ocean.tests.global_ocean.mesh.rrs6to18 import RRS6to18BaseMesh
from compass.ocean.tests.global_ocean.mesh.so12to60 import SO12to60BaseMesh
from compass.ocean.tests.global_ocean.mesh.wc14 import WC14BaseMesh
from compass.ocean.tests.global_ocean.metadata import (
get_author_and_email_from_git,
)
Expand Down Expand Up @@ -110,8 +110,8 @@ def __init__(self, test_group, mesh_name, high_res_topography):
base_mesh_step = FRIS08to60BaseMesh(self, name=name, subdir=subdir)
elif mesh_name.startswith('Kuroshio'):
base_mesh_step = KuroshioBaseMesh(self, name=name, subdir=subdir)
elif mesh_name in ['WC14', 'WCwISC14']:
base_mesh_step = WC14BaseMesh(self, name=name, subdir=subdir)
elif mesh_name in ['NARRM14', 'NARRMwISC14']:
base_mesh_step = NARRM14BaseMesh(self, name=name, subdir=subdir)
else:
raise ValueError(f'Unknown mesh name {mesh_name}')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
from compass.mesh import QuasiUniformSphericalMeshStep


class WC14BaseMesh(QuasiUniformSphericalMeshStep):
class NARRM14BaseMesh(QuasiUniformSphericalMeshStep):
"""
A step for creating WC14 mesh
A step for creating NARRM14 mesh
"""
def setup(self):
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ transition_levels = 28
approx_cell_count = 410000

## metadata related to the mesh
# the prefix (e.g. QU, EC, WC, SO)
prefix = WC
# the prefix (e.g. QU, EC, NARRM, SO)
prefix = NARRM
# a description of the mesh and initial condition
mesh_description = MPAS North America and Arctic Focused Water Cycle mesh for E3SM version
${e3sm_version}, with a focused ${min_res}-km resolution
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@
}
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@
}
}
]
}
}

0 comments on commit 79db8a5

Please sign in to comment.