Skip to content

Commit

Permalink
streamline sourcing of JEDI ATM configs in applications.py (NOAA-EMC#…
Browse files Browse the repository at this point in the history
  • Loading branch information
RussTreadon-NOAA committed Mar 11, 2024
1 parent 563a438 commit 193be93
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions workflow/applications/applications.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,14 +145,10 @@ def _source_configs(self, conf: Configuration) -> Dict[str, Any]:
files += ['config.anal', 'config.eupd']
elif config in ['efcs']:
files += ['config.fcst', 'config.efcs']
elif config in ['atmanlinit']:
files += ['config.atmanl', 'config.atmanlinit']
elif config in ['atmanlrun']:
files += ['config.atmanl', 'config.atmanlrun']
elif config in ['atmensanlinit']:
files += ['config.atmensanl', 'config.atmensanlinit']
elif config in ['atmensanlrun']:
files += ['config.atmensanl', 'config.atmensanlrun']
elif config in ['atmanlinit', 'atmanlrun']:
files += ['config.atmanl', f'config.{config}']
elif config in ['atmensanlinit', 'atmensanlrun']:
files += ['config.atmensanl', f'config.{config}']
elif 'wave' in config:
files += ['config.wave', f'config.{config}']
else:
Expand Down

0 comments on commit 193be93

Please sign in to comment.