Skip to content

Commit

Permalink
more bug fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
kayeekayee committed Feb 13, 2024
1 parent 56e283f commit 6f80ea2
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
10 changes: 5 additions & 5 deletions workflow/c3_ugwpv1.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/sh
USER=Judy.K.Henderson
GITDIR=/scratch1/BMC/gsd-fv3-dev/jhender/test/gsl_ufs_dev/ ## where your git checkout is located
COMROT=$GITDIR/FV3GFSrun ## default COMROT directory
EXPDIR=$GITDIR/FV3GFSwfm ## default EXPDIR directory
COMROT=${GITDIR}/FV3GFSrun ## default COMROT directory
EXPDIR=${GITDIR}/FV3GFSwfm ## default EXPDIR directory
ICSDIR=/scratch1/BMC/gsd-fv3/rtruns/FV3ICS_L127

Check warning

Code scanning / shellcheck

ICSDIR appears unused. Verify use (or export if used externally). Warning

ICSDIR appears unused. Verify use (or export if used externally).

PSLOT=c3
Expand All @@ -12,7 +12,7 @@ RESDET=768 ## 96 192 384 768

### gfs_cyc 1 00Z only; gfs_cyc 2 00Z and 12Z

./setup_expt.py gfs forecast-only --pslot $PSLOT --gfs_cyc 1 \
--idate $IDATE --edate $EDATE --resdetatmos $RESDET \
--comroot $COMROT --expdir $EXPDIR
./setup_expt.py gfs forecast-only --pslot ${PSLOT} --gfs_cyc 1 \

Check notice

Code scanning / shellcheck

Prefer double quoting even when variables don't contain special characters. Note

Prefer double quoting even when variables don't contain special characters.
--idate ${IDATE} --edate ${EDATE} --resdetatmos ${RESDET} \

Check notice

Code scanning / shellcheck

Prefer double quoting even when variables don't contain special characters. Note

Prefer double quoting even when variables don't contain special characters.

Check notice

Code scanning / shellcheck

Prefer double quoting even when variables don't contain special characters. Note

Prefer double quoting even when variables don't contain special characters.

Check notice

Code scanning / shellcheck

Prefer double quoting even when variables don't contain special characters. Note

Prefer double quoting even when variables don't contain special characters.
--comroot ${COMROT} --expdir ${EXPDIR}

Check notice

Code scanning / shellcheck

Prefer double quoting even when variables don't contain special characters. Note

Prefer double quoting even when variables don't contain special characters.

Check notice

Code scanning / shellcheck

Prefer double quoting even when variables don't contain special characters. Note

Prefer double quoting even when variables don't contain special characters.

10 changes: 5 additions & 5 deletions workflow/mynn_ugwpv1.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/sh
USER=Judy.K.Henderson
GITDIR=/scratch1/BMC/gsd-fv3-dev/jhender/test/gsl_ufs_dev/ ## where your git checkout is located
COMROT=$GITDIR/FV3GFSrun ## default COMROT directory
EXPDIR=$GITDIR/FV3GFSwfm ## default EXPDIR directory
COMROT=${GITDIR}/FV3GFSrun ## default COMROT directory
EXPDIR=${GITDIR}/FV3GFSwfm ## default EXPDIR directory
ICSDIR=/scratch1/BMC/gsd-fv3/rtruns/FV3ICS_L127

Check warning

Code scanning / shellcheck

ICSDIR appears unused. Verify use (or export if used externally). Warning

ICSDIR appears unused. Verify use (or export if used externally).

PSLOT=mynn
Expand All @@ -12,7 +12,7 @@ RESDET=768 ## 96 192 384 768

### gfs_cyc 1 00Z only; gfs_cyc 2 00Z and 12Z

./setup_expt.py gfs forecast-only --pslot $PSLOT --gfs_cyc 1 \
--idate $IDATE --edate $EDATE --resdetatmos $RESDET \
--comroot $COMROT --expdir $EXPDIR
./setup_expt.py gfs forecast-only --pslot ${PSLOT} --gfs_cyc 1 \

Check notice

Code scanning / shellcheck

Prefer double quoting even when variables don't contain special characters. Note

Prefer double quoting even when variables don't contain special characters.
--idate ${IDATE} --edate ${EDATE} --resdetatmos ${RESDET} \

Check notice

Code scanning / shellcheck

Prefer double quoting even when variables don't contain special characters. Note

Prefer double quoting even when variables don't contain special characters.

Check notice

Code scanning / shellcheck

Prefer double quoting even when variables don't contain special characters. Note

Prefer double quoting even when variables don't contain special characters.

Check notice

Code scanning / shellcheck

Prefer double quoting even when variables don't contain special characters. Note

Prefer double quoting even when variables don't contain special characters.
--comroot ${COMROT} --expdir ${EXPDIR}

Check notice

Code scanning / shellcheck

Prefer double quoting even when variables don't contain special characters. Note

Prefer double quoting even when variables don't contain special characters.

Check notice

Code scanning / shellcheck

Prefer double quoting even when variables don't contain special characters. Note

Prefer double quoting even when variables don't contain special characters.

10 changes: 5 additions & 5 deletions workflow/p8_ugwpv1.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/sh
USER=Judy.K.Henderson
GITDIR=/scratch1/BMC/gsd-fv3-dev/jhender/test/gsl_ufs_dev/ ## where your git checkout is located
COMROT=$GITDIR/FV3GFSrun ## default COMROT directory
EXPDIR=$GITDIR/FV3GFSwfm ## default EXPDIR directory
COMROT=${GITDIR}/FV3GFSrun ## default COMROT directory
EXPDIR=${GITDIR}/FV3GFSwfm ## default EXPDIR directory
ICSDIR=/scratch1/BMC/gsd-fv3/rtruns/FV3ICS_L127

PSLOT=p8
Expand All @@ -12,7 +12,7 @@ RESDET=768 ## 96 192 384 768

### gfs_cyc 1 00Z only; gfs_cyc 2 00Z and 12Z

./setup_expt.py gfs forecast-only --pslot $PSLOT --gfs_cyc 1 \
--idate $IDATE --edate $EDATE --resdetatmos $RESDET \
--comroot $COMROT --expdir $EXPDIR
./setup_expt.py gfs forecast-only --pslot ${PSLOT} --gfs_cyc 1 \
--idate ${IDATE} --edate ${EDATE} --resdetatmos ${RESDET} \
--comroot ${COMROT} --expdir ${EXPDIR}

0 comments on commit 6f80ea2

Please sign in to comment.