Skip to content

Commit

Permalink
Update bcw IN file for orion; change yaml function in ufs test utils …
Browse files Browse the repository at this point in the history
…py script.
  • Loading branch information
ulmononian committed Oct 3, 2024
1 parent 948ea17 commit a040e40
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions tests-dev/test_cases/exp_conf/baroclinic_wave.IN
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ fi

echo "inputdir=$inputdir,NPX=$NPX,NESTED=$NESTED"

if [ $MACHINE_ID = hera ]; then
cp scratch1/NCEPDEV/stmp4/Cameron.Book/BCW192_files/global_hyblev.l128.txt .
if [ ${MACHINE_ID} = hera ]; then
cp /scratch1/NCEPDEV/stmp4/Cameron.Book/BCW192_files/global_hyblev.l128.txt .
elif [ ${MACHINE_ID} = orion ]; then
cp /work/noaa/epic/cbook/hsd_input_files/global_hyblev.l128.txt .
fi

OPNREQ_TEST=${OPNREQ_TEST:-false}
Expand Down
2 changes: 1 addition & 1 deletion tests-dev/ufs_test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def update_testyaml(input_list):
new_yaml = {}
yaml_item_count = None
with open(UFS_TEST_YAML, 'r') as file_yaml:
rt_yaml = yaml.load(file_yaml)#, Loader=yaml.FullLoader)
rt_yaml = yaml.full_load(file_yaml)#yaml.load(file_yaml)#, Loader=yaml.FullLoader)
for apps, jobs in rt_yaml.items():
app_temp = None
build_temp = None
Expand Down

0 comments on commit a040e40

Please sign in to comment.