Skip to content

Commit

Permalink
Merge pull request #726 from gcapodag/hurrican_cfg_fix
Browse files Browse the repository at this point in the history
Fixed issue with convert_culled_mesh_to_cdf5 for hurricane test case
  • Loading branch information
xylar authored Nov 8, 2023
2 parents 9094cf7 + 84bf76e commit 5327d22
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 4 additions & 2 deletions compass/ocean/tests/hurricane/configure.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from compass.ocean.tests.global_ocean.metadata import \
get_author_and_email_from_git
from compass.ocean.tests.global_ocean.metadata import (
get_author_and_email_from_git,
)


def configure_hurricane(test_case, mesh):
Expand All @@ -17,6 +18,7 @@ def configure_hurricane(test_case, mesh):
config = test_case.config

config.add_from_package('compass.mesh', 'mesh.cfg')
config.add_from_package('compass.ocean.tests.hurricane', 'hurricane.cfg')
config.add_from_package(mesh.package, mesh.mesh_config_filename,
exception=True)

Expand Down
6 changes: 6 additions & 0 deletions compass/ocean/tests/hurricane/hurricane.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# options for spherical meshes
[spherical_mesh]

# Config options related to the step for culling land from the mesh
# Whether to convert the culled mesh file to CDF5 format
convert_culled_mesh_to_cdf5 = False

0 comments on commit 5327d22

Please sign in to comment.