Skip to content

Commit

Permalink
Clean-up ssh_forward
Browse files Browse the repository at this point in the history
  • Loading branch information
cbegeman committed Jan 17, 2024
1 parent 7d0047c commit 691df23
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions polaris/ocean/ice_shelf/ssh_forward.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class SshForward(OceanModelStep):
Attributes
----------
resolution : float
The resolution of the task in km
The minimum resolution in km used to determine the time step
package : Package
The package name or module object that contains ``namelist``
Expand All @@ -21,7 +21,7 @@ class SshForward(OceanModelStep):
key, string combinations for templated replacements in the yaml
file
"""
def __init__(self, component, resolution, mesh, init,
def __init__(self, component, min_resolution, mesh, init,
name='ssh_forward', subdir=None,
package=None, yaml_filename='ssh_forward.yaml',
yaml_replacements=None, iteration=1, indir=None,
Expand All @@ -34,8 +34,8 @@ def __init__(self, component, resolution, mesh, init,
component : polaris.Component
The component the step belongs to
resolution : km
The resolution of the task in km
min_resolution : float
The minimum resolution in km used to determine the time step
name : str
the name of the task
Expand Down Expand Up @@ -82,7 +82,7 @@ def __init__(self, component, resolution, mesh, init,
indir=f'{indir}/ssh_adjustment', ntasks=ntasks,
min_tasks=min_tasks, openmp_threads=openmp_threads)

self.resolution = resolution
self.resolution = min_resolution
self.package = package
self.yaml_filename = yaml_filename
self.yaml_replacements = yaml_replacements
Expand Down

0 comments on commit 691df23

Please sign in to comment.