Skip to content

Commit

Permalink
update sha-bang in atmens config files, correct atmens errors in work…
Browse files Browse the repository at this point in the history
…flow_task (NOAA-EMC#1313)
  • Loading branch information
RussTreadon-NOAA committed Apr 19, 2023
1 parent b0741ea commit 0335389
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion parm/config/config.atmensanl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -x
#! /usr/bin/env bash

########## config.atmensanl ##########
# configuration common to all atm ens analysis tasks
Expand Down
2 changes: 1 addition & 1 deletion parm/config/config.atmensanlfinal
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -x
#! /usr/bin/env bash

########## config.atmensanlfinal ##########
# Post Atm Ens Analysis specific
Expand Down
2 changes: 1 addition & 1 deletion parm/config/config.atmensanlinit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -x
#! /usr/bin/env bash

########## config.atmensanlinit ##########
# Pre Atm Ens Analysis specific
Expand Down
2 changes: 1 addition & 1 deletion parm/config/config.atmensanlrun
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -x
#! /usr/bin/env bash

########## config.atmensanlrun ##########
# Atm Ens Analysis specific
Expand Down
6 changes: 3 additions & 3 deletions workflow/rocoto/workflow_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Tasks:
'ocnanalprep', 'ocnanalbmat', 'ocnanalrun', 'ocnanalpost',
'earc', 'ecen', 'echgres', 'ediag', 'efcs',
'eobs', 'eomg', 'epos', 'esfc', 'eupd',
'atmensanlprep', 'atmensanlrun', 'atmensanlpost',
'atmensanlinit', 'atmensanlrun', 'atmensanlfinal',
'aeroanlinit', 'aeroanlrun', 'aeroanlfinal',
'fcst', 'post', 'ocnpost', 'vrfy', 'metp',
'postsnd', 'awips', 'gempak',
Expand Down Expand Up @@ -1178,7 +1178,7 @@ def _get_ecengroups():
deps = []
dep_dict = {'type': 'task', 'name': f'{self.cdump.replace("enkf","")}analcalc'}
deps.append(rocoto.add_dependency(dep_dict))
if self.app_config.do_jediens:
if self.app_config.do_jediatmens:
dep_dict = {'type': 'task', 'name': f'{self.cdump}atmensanlfinal'}
else:
dep_dict = {'type': 'task', 'name': f'{self.cdump}eupd'}
Expand Down Expand Up @@ -1207,7 +1207,7 @@ def esfc(self):
deps = []
dep_dict = {'type': 'task', 'name': f'{self.cdump.replace("enkf","")}analcalc'}
deps.append(rocoto.add_dependency(dep_dict))
if self.app_config.do_jediens:
if self.app_config.do_jediatmens:
dep_dict = {'type': 'task', 'name': f'{self.cdump}atmensanlfinal'}
else:
dep_dict = {'type': 'task', 'name': f'{self.cdump}eupd'}
Expand Down

0 comments on commit 0335389

Please sign in to comment.