Skip to content

Commit

Permalink
Change cycled IC links INPUT to RESTART
Browse files Browse the repository at this point in the history
Changes the links created for cycled ICs from INPUT to RESTART.

Refs: NOAA-EMC#536
  • Loading branch information
WalterKolczynski-NOAA committed Feb 2, 2022
1 parent 8518053 commit 67732d4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ush/rocoto/setup_expt.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@ def fill_COMROT_cycled(host, inputs):
makedirs_if_missing(os.path.join(comrot, enkfdir))
for ii in range(1, inputs.nens + 1):
makedirs_if_missing(os.path.join(comrot, enkfdir, f'mem{ii:03d}'))
os.symlink(os.path.join(inputs.icsdir, idatestr, f'C{inputs.resens}', f'mem{ii:03d}', 'INPUT'),
os.path.join(comrot, enkfdir, f'mem{ii:03d}', 'INPUT'))
os.symlink(os.path.join(inputs.icsdir, idatestr, f'C{inputs.resens}', f'mem{ii:03d}', 'RESTART'),
os.path.join(comrot, enkfdir, f'mem{ii:03d}', 'RESTART'))

# Link deterministic initial conditions
detdir = f'{inputs.cdump}.{idatestr[:8]}/{idatestr[8:]}'
makedirs_if_missing(os.path.join(comrot, detdir))
os.symlink(os.path.join(inputs.icsdir, idatestr, f'C{inputs.resdet}', 'control', 'INPUT'),
os.path.join(comrot, detdir, 'INPUT'))
os.symlink(os.path.join(inputs.icsdir, idatestr, f'C{inputs.resdet}', 'control', 'RESTART'),
os.path.join(comrot, detdir, 'RESTART'))

# Link bias correction and radiance diagnostics files
for fname in ['abias', 'abias_pc', 'abias_air', 'radstat']:
Expand Down

0 comments on commit 67732d4

Please sign in to comment.