@@ -51,7 +51,7 @@ def __init__(
5151 min_tasks = min_tasks ,
5252 update_eos = update_eos ,
5353 openmp_threads = 1 ,
54- graph_target = 'graph.info' ,
54+ graph_target = f 'graph.info. { mpaso_id } ' ,
5555 )
5656 self .mesh_name = mesh_name
5757 self .mpaso_id = mpaso_id
@@ -79,9 +79,10 @@ def setup(self):
7979 """
8080 TEMP: symlink initial condition to name hard-coded in Omega
8181 """
82- super ().setup ()
8382 config = self .config
8483 model = config .get ('ocean' , 'model' )
84+ self .target_location = f'realistic_global/{ model } '
85+ super ().setup ()
8586 # TODO: remove as soon as Omega no longer hard-codes this file
8687 input_filename = f'ocean.{ self .mesh_name } .{ self .mpaso_id } '
8788 if model == 'omega' :
@@ -98,14 +99,6 @@ def setup(self):
9899 filename = 'init.nc' ,
99100 database = f'realistic_global/{ model } ' ,
100101 )
101- # TODO we need to add this file to input database if we want to
102- # reconstruct zonal, meridional components before Omega has those
103- # capabilities natively
104- # self.add_input_file(
105- # target='coeffs.nc',
106- # filename='coeffs.nc',
107- # database='realistic_global',
108- # )
109102 else :
110103 self .replacements ['time_integrator' ] = 'RK4'
111104 input_filename = f'{ input_filename } .zerovel.nc'
@@ -119,12 +112,6 @@ def setup(self):
119112 filename = 'init.nc' ,
120113 database = f'realistic_global/{ model } ' ,
121114 )
122- self .add_input_file (
123- target = self .graph_filename ,
124- filename = f'graph.info.{ self .mpaso_id } ' ,
125- database = f'realistic_global/{ model } ' ,
126- )
127- print (self .replacements )
128115 self .add_yaml_file (
129116 package = self .package ,
130117 yaml = 'forward.yaml' ,
0 commit comments