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

Don't smooth ISOMIP+ topography on base mesh #202

Merged
merged 1 commit into from
Jul 16, 2024
Merged
Changes from all commits
Commits
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
9 changes: 5 additions & 4 deletions polaris/ocean/tasks/isomip_plus/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,10 @@ def _get_shared_steps(mesh_type, resolution, mesh_name, resdir, component,
base_mesh.set_shared_config(config, link='isomip_plus_topo.cfg')

subdir = f'{resdir}/topo/map_base'
# we remap the topography onto the base mesh with smoothing, which
# requires the conserve method. This only works because we have already
# culled planar meshes to remove periodicity
# we remap the topography onto the base mesh without smoothing the
# smoothing doesn't expand the domain. We can use conservative
# interpolation because we have already culled planar meshes to remove
# periodicity
topo_map_base = TopoMap(component=component,
name='topo_map_base',
subdir=subdir,
Expand All @@ -86,7 +87,7 @@ def _get_shared_steps(mesh_type, resolution, mesh_name, resdir, component,
mesh_step=base_mesh,
mesh_filename='base_mesh.nc',
method='conserve',
smooth=True)
smooth=False)

subdir = f'{resdir}/topo/remap_base'
topo_remap_base = TopoRemap(component=component,
Expand Down