Skip to content

Commit 080ca01

Browse files
committed
Fixup graph paths for cached inputs
1 parent 002293c commit 080ca01

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

polaris/ocean/tasks/cosine_bell/forward.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ def __init__(self, component, name, subdir, resolution, mesh, init):
3939
yaml_filename='forward.yaml',
4040
output_filename='output.nc',
4141
validate_vars=validate_vars,
42-
graph_target=f'{init.path}/graph.info')
42+
graph_target=f'{mesh.path}/graph.info')

polaris/ocean/tasks/geostrophic/forward.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ def __init__(self, component, name, subdir, resolution, mesh, init):
4242
yaml_filename='forward.yaml',
4343
output_filename='output.nc',
4444
validate_vars=validate_vars,
45-
graph_target=f'{init.path}/graph.info')
45+
graph_target=f'{mesh.path}/graph.info')

polaris/ocean/tasks/sphere_transport/forward.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,4 @@ def __init__(self, component, name, subdir, resolution, base_mesh, init,
5353
output_filename='output.nc',
5454
validate_vars=validate_vars,
5555
options=namelist_options,
56-
graph_target=f'{init.path}/graph.info')
56+
graph_target=f'{base_mesh.path}/graph.info')

0 commit comments

Comments
 (0)