Skip to content

Commit 25ce071

Browse files
committed
Clean-up ssh_forward
1 parent bfd8ba5 commit 25ce071

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

polaris/ocean/ice_shelf/ssh_forward.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class SshForward(OceanModelStep):
99
Attributes
1010
----------
1111
resolution : float
12-
The resolution of the task in km
12+
The minimum resolution in km used to determine the time step
1313
1414
package : Package
1515
The package name or module object that contains ``namelist``
@@ -21,7 +21,7 @@ class SshForward(OceanModelStep):
2121
key, string combinations for templated replacements in the yaml
2222
file
2323
"""
24-
def __init__(self, component, resolution, mesh, init,
24+
def __init__(self, component, min_resolution, mesh, init,
2525
name='ssh_forward', subdir=None,
2626
package=None, yaml_filename='ssh_forward.yaml',
2727
yaml_replacements=None, iteration=1, indir=None,
@@ -34,8 +34,8 @@ def __init__(self, component, resolution, mesh, init,
3434
component : polaris.Component
3535
The component the step belongs to
3636
37-
resolution : km
38-
The resolution of the task in km
37+
min_resolution : float
38+
The minimum resolution in km used to determine the time step
3939
4040
name : str
4141
the name of the task
@@ -82,7 +82,7 @@ def __init__(self, component, resolution, mesh, init,
8282
indir=f'{indir}/ssh_adjustment', ntasks=ntasks,
8383
min_tasks=min_tasks, openmp_threads=openmp_threads)
8484

85-
self.resolution = resolution
85+
self.resolution = min_resolution
8686
self.package = package
8787
self.yaml_filename = yaml_filename
8888
self.yaml_replacements = yaml_replacements

0 commit comments

Comments
 (0)