Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tides test case #456

Merged
merged 25 commits into from
Dec 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
fbc31a2
Copy hurricane as template for tides
sbrus89 Oct 26, 2022
3def26a
Switch hurricane files to tides
sbrus89 Oct 28, 2022
dbd88bf
Get mesh step working (without bathymetry step)
sbrus89 Oct 28, 2022
4c7a820
Fix rinv interpolation and add dem remap step
sbrus89 Nov 4, 2022
bc65c2d
Get remap step working
sbrus89 Nov 5, 2022
73adf60
Dump Quick-Viz scripts into analysis
sbrus89 Nov 5, 2022
3af9b80
Get init, forward, and analysis steps closer to working
sbrus89 Nov 9, 2022
ae195bb
Update test steps
sbrus89 Nov 9, 2022
2c402d7
Fix PEP8 errors
sbrus89 Nov 9, 2022
592b2a1
Fix analysis step
sbrus89 Nov 9, 2022
4c4380f
Clean up analysis step
sbrus89 Nov 10, 2022
7cbef76
Add chunking to TPXO extraction
sbrus89 Nov 10, 2022
c135b93
Fix analysis PEP8 issues
sbrus89 Nov 10, 2022
0166970
Update docstrings
sbrus89 Nov 10, 2022
f98372c
Add documentation
sbrus89 Nov 10, 2022
ccb5498
Fix bugs in init and analysis
sbrus89 Nov 15, 2022
5c8154e
Cleanup of forward streams file
sbrus89 Nov 16, 2022
809c286
Fix hard-coded max bottom depth
sbrus89 Nov 16, 2022
c01d8a0
Constrain scipy version
sbrus89 Nov 16, 2022
4008d82
Fix hard-coded minimum depth
sbrus89 Nov 23, 2022
8188082
Add error bound for global rmse calculation
sbrus89 Nov 23, 2022
3d00af3
Clean up and fix permissions issue related to extract_HC
sbrus89 Nov 23, 2022
16007b7
Remove unnecessary run method
sbrus89 Nov 23, 2022
6a98d71
Use extract_HC from conda package
sbrus89 Nov 23, 2022
1a9572e
Fix cores -> tasks for init config options
sbrus89 Dec 13, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions compass/ocean/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
from compass.ocean.tests.sphere_transport import SphereTransport
from compass.ocean.tests.spherical_harmonic_transform import \
SphericalHarmonicTransform
from compass.ocean.tests.tides import Tides
from compass.ocean.tests.ziso import Ziso


Expand Down Expand Up @@ -44,4 +45,5 @@ def __init__(self):
self.add_test_group(Soma(mpas_core=self))
self.add_test_group(SphereTransport(mpas_core=self))
self.add_test_group(SphericalHarmonicTransform(mpas_core=self))
self.add_test_group(Tides(mpas_core=self))
self.add_test_group(Ziso(mpas_core=self))
30 changes: 30 additions & 0 deletions compass/ocean/tests/tides/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
from compass.testgroup import TestGroup

from compass.ocean.tests.tides.mesh import Mesh
from compass.ocean.tests.tides.init import Init
from compass.ocean.tests.tides.forward import Forward


class Tides(TestGroup):
"""
A test group for tidal simulations with MPAS-Ocean
"""
def __init__(self, mpas_core):
"""
mpas_core : compass.ocean.Ocean
the MPAS core that this test group belongs to
"""
super().__init__(mpas_core=mpas_core,
name='tides')

for mesh_name in ['Icos7']:

mesh = Mesh(test_group=self, mesh_name=mesh_name)
self.add_test_case(mesh)

init = Init(test_group=self, mesh=mesh)
self.add_test_case(init)

self.add_test_case(Forward(test_group=self,
mesh=mesh,
init=init))
Loading