We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 336e65d + 20ecf00 commit 1199665Copy full SHA for 1199665
compass/ocean/tests/global_ocean/files_for_e3sm/remap_tidal_mixing.py
@@ -34,13 +34,22 @@ def __init__(self, test_case):
34
target='ustar_CATS2008_S71W70.nc',
35
database='tidal_mixing')
36
37
- self.add_output_file(filename='velocityTidalRMS_CATS2008.nc')
+ def setup(self):
38
+ """
39
+ setup input and output files based on config options
40
41
+ super().setup()
42
+ if self.with_ice_shelf_cavities:
43
+ self.add_output_file(filename='velocityTidalRMS_CATS2008.nc')
44
45
def run(self):
46
"""
47
Run this step of the test case
48
49
super().run()
50
+ if not self.with_ice_shelf_cavities:
51
+ return
52
+
53
logger = self.logger
54
config = self.config
55
ntasks = self.ntasks
0 commit comments