Skip to content

Commit

Permalink
Source required JEDI ATM configs in applications.py (NOAA-EMC#2294)
Browse files Browse the repository at this point in the history
  • Loading branch information
RussTreadon-NOAA committed Mar 11, 2024
1 parent dd44e30 commit 563a438
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 12 deletions.
4 changes: 1 addition & 3 deletions parm/config/gfs/config.atmanlinit
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@

echo "BEGIN: config.atmanlinit"

# Get task specific layout
. "${EXPDIR}/config.atmanl"

# Get task specific resources
. "${EXPDIR}/config.resources" atmanlinit

echo "END: config.atmanlinit"
3 changes: 0 additions & 3 deletions parm/config/gfs/config.atmanlrun
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@

echo "BEGIN: config.atmanlrun"

# Get task specific layout
. "${EXPDIR}/config.atmanl"

# Get task specific resources
. "${EXPDIR}/config.resources" atmanlrun

Expand Down
4 changes: 1 addition & 3 deletions parm/config/gfs/config.atmensanlinit
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@

echo "BEGIN: config.atmensanlinit"

# Get task specific layout
. "${EXPDIR}/config.atmensanl"

# Get task specific resources
. "${EXPDIR}/config.resources" atmensanlinit

echo "END: config.atmensanlinit"
3 changes: 0 additions & 3 deletions parm/config/gfs/config.atmensanlrun
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@

echo "BEGIN: config.atmensanlrun"

# Get task specific layout
. "${EXPDIR}/config.atmensanl"

# Get task specific resources
. "${EXPDIR}/config.resources" atmensanlrun

Expand Down
8 changes: 8 additions & 0 deletions workflow/applications/applications.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,14 @@ 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 'wave' in config:
files += ['config.wave', f'config.{config}']
else:
Expand Down

0 comments on commit 563a438

Please sign in to comment.