Skip to content

Commit

Permalink
Fixup graph paths for cached inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
cbegeman committed Oct 10, 2024
1 parent 002293c commit 080ca01
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion polaris/ocean/tasks/cosine_bell/forward.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ def __init__(self, component, name, subdir, resolution, mesh, init):
yaml_filename='forward.yaml',
output_filename='output.nc',
validate_vars=validate_vars,
graph_target=f'{init.path}/graph.info')
graph_target=f'{mesh.path}/graph.info')
2 changes: 1 addition & 1 deletion polaris/ocean/tasks/geostrophic/forward.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ def __init__(self, component, name, subdir, resolution, mesh, init):
yaml_filename='forward.yaml',
output_filename='output.nc',
validate_vars=validate_vars,
graph_target=f'{init.path}/graph.info')
graph_target=f'{mesh.path}/graph.info')
2 changes: 1 addition & 1 deletion polaris/ocean/tasks/sphere_transport/forward.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ def __init__(self, component, name, subdir, resolution, base_mesh, init,
output_filename='output.nc',
validate_vars=validate_vars,
options=namelist_options,
graph_target=f'{init.path}/graph.info')
graph_target=f'{base_mesh.path}/graph.info')

0 comments on commit 080ca01

Please sign in to comment.