Skip to content

Commit

Permalink
Add new links and optimize link.sh
Browse files Browse the repository at this point in the history
 On branch feature/gefs_v13_ATM
 Changes to be committed:
	modified:   parm/.gitignore
	modified:   sorc/link_gefs.sh
	modified:   ush/.gitignore

Refs: NOAA-EMC#108
  • Loading branch information
XianwuXue-NOAA committed Mar 16, 2023
1 parent 6c0bbd8 commit 731decd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
1 change: 1 addition & 0 deletions parm/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
parm_fv3diag
post
config
product
prep_chem_sources.inp.IN
17 changes: 7 additions & 10 deletions sorc/link_gefs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,20 +112,18 @@ fi
# Copy/Link parm files
cd $pwd
if [[ -d global-workflow.fd ]] ; then
if [[ -d ../parm/parm_fv3diag ]]; then
rm -rf ../parm/parm_fv3diag
fi
$LINK ../sorc/global-workflow.fd/parm/parm_fv3diag ../parm/

if [[ -d ../parm/post ]]; then
rm -rf ../parm/post
fi
$LINK ../sorc/global-workflow.fd/sorc/ufs_model.fd/FV3/upp/parm ../parm/post

if [[ -d ../parm/product ]]; then
rm -rf ../parm/product
fi
$LINK ../sorc/global-workflow.fd/parm/product ../parm/
for fn in parm_fv3diag product config; do
echo ${fn}
if [[ -d ../parm/${fn} ]]; then
rm -rf ../parm/${fn}
fi
${LINK} ../sorc/global-workflow.fd/parm/${fn} ../parm/
done
fi


Expand All @@ -149,7 +147,6 @@ if [[ -d global-workflow.fd ]] ; then
ush/parsing_model_configure_FV3.sh \
ush/parsing_model_configure_DATM.sh \
ush/parsing_namelists_FV3.sh \
ush/parsing_namelists_DATM.sh \
ush/parsing_namelists_WW3.sh \
ush/parsing_namelists_MOM6.sh \
ush/parsing_namelists_CICE.sh \
Expand Down
1 change: 1 addition & 0 deletions ush/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ nems_configure.sh
parsing_model_configure_FV3.sh
parsing_model_configure_DATM.sh

parsing_namelists_*

0 comments on commit 731decd

Please sign in to comment.