Skip to content

Commit e94110e

Browse files
committed
Fix mapping method 'conserve' in ISOMIP+ tests
1 parent 1995701 commit e94110e

File tree

1 file changed

+1
-1
lines changed
  • polaris/tasks/ocean/isomip_plus/topo

1 file changed

+1
-1
lines changed

polaris/tasks/ocean/isomip_plus/topo/map.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,13 @@ def __init__(
6464
subdir=subdir,
6565
ntasks=128,
6666
min_tasks=1,
67+
method=method,
6768
)
6869
if smooth and method != 'conserve':
6970
raise ValueError(
7071
'Smoothing can only be used with the "conserve" mapping method'
7172
)
7273
self.mesh_name = mesh_name
73-
self.method = method
7474
self.smooth = smooth
7575
self.set_shared_config(config, link='isomip_plus_topo.cfg')
7676

0 commit comments

Comments
 (0)