File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
compass/ocean/tests/global_ocean/init Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ def run(self):
168168 if self .with_inactive_top_cells :
169169
170170 logger = self .logger
171- logger .info (" * Updating min,maxLevelCell for inactive top cells" )
171+ logger .info (" * Updating minLevelCell for inactive top cells" )
172172
173173 in_filename = 'initial_state.nc'
174174 out_filename = in_filename
@@ -180,11 +180,9 @@ def run(self):
180180
181181 ds = ds .isel (Time = 0 )
182182
183- if ('maxLevelCell' in ds ) and ( ' minLevelCell' in ds ):
183+ if ('minLevelCell' in ds ):
184184 minLevelCell = ds .minLevelCell + 1
185- maxLevelCell = ds .maxLevelCell + 1
186185 ds_out ['minLevelCell' ] = minLevelCell
187- ds_out ['maxLevelCell' ] = maxLevelCell
188186 else :
189187 logger .info (" - Streams missing for inactive top cells" )
190188
You can’t perform that action at this time.
0 commit comments