diff --git a/polaris/ocean/tasks/cosine_bell/forward.py b/polaris/ocean/tasks/cosine_bell/forward.py index a761408e0..19ae04ee0 100644 --- a/polaris/ocean/tasks/cosine_bell/forward.py +++ b/polaris/ocean/tasks/cosine_bell/forward.py @@ -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') diff --git a/polaris/ocean/tasks/geostrophic/forward.py b/polaris/ocean/tasks/geostrophic/forward.py index 15b45482a..1e788b468 100644 --- a/polaris/ocean/tasks/geostrophic/forward.py +++ b/polaris/ocean/tasks/geostrophic/forward.py @@ -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') diff --git a/polaris/ocean/tasks/sphere_transport/forward.py b/polaris/ocean/tasks/sphere_transport/forward.py index 96485b111..c795993af 100644 --- a/polaris/ocean/tasks/sphere_transport/forward.py +++ b/polaris/ocean/tasks/sphere_transport/forward.py @@ -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')