Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update/generalize paths for GFSv17 COM reorg #2

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/exgfs_tc_genesis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export cmodel=gfs
#export gfsdir=${COMINgfs}
export COMPONENT=${COMPONENT:-atmos}
#export gfsdir=${COMINgfs}/${cyc}/${COMPONENT}
export gfsdir=${gfsdir:-${COMINgfs}/${cyc}/${COMPONENT}}
export gfsdir=${gfsdir:-${COMINgfs}}

#-----------input data checking -----------------
${USHens_tracker}/data_check_gfs.sh
Expand Down
4 changes: 1 addition & 3 deletions ush/extrkr_fsu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ cd $TRKDATA
#unlink $HOMEens_tracker/tclogg/genesis_guidance/model_config.cfg
#ln -sf ${namelist} $HOMEens_tracker/tclogg/genesis_guidance/model_config.cfg

#export file_name=${gfsdir}/gfs.{date:%Y%m%d}/{date:%H}/gfs.t{date:%H}z.pgrb2.0p25.f{fhr:03}
export COMPONENT=${COMPONENT:-atmos}
export file_name=${gfsdir}/gfs.{date:%Y%m%d}/{date:%H}/${COMPONENT}/gfs.t{date:%H}z.pgrb2.0p25.f{fhr:03}
export file_name=${gfsdir/${PDY}\/${cyc}/'{date:%Y%m%d}/{date:%H}'}/gfs.t{date:%H}z.pgrb2.0p25.f{fhr:03}
${BINens_tracker}/tclogg_track --date ${ymdh} --odir $TRKDATA --fname_template=${file_name}

#if [ "$SENDCOM" = 'YES' ]; then
Expand Down
8 changes: 4 additions & 4 deletions ush/extrkr_gfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ case ${cmodel} in
echo " ++ operational FV3-GDAS chosen" ;
echo " "; set -x ;
# gdasdir=${gdasdir:-${COMINgdas:?}/${cyc}} ;
gdasdir=${gdasdir:-${COMINgdas:?}/${cyc}/${COMPONENT}} ;
gdasdir=${gdasdir:-${COMINgdas:?}} ;
gdasgfile=gdas.t${cyc}z.pgrb2.0p25.f ;

vit_incr=${FHOUT_CYCLONE:-3} ;
Expand Down Expand Up @@ -207,7 +207,7 @@ case ${cmodel} in
echo " ++ operational FV3-GFS chosen" ;
echo " "; set -x ;
# gfsdir=${gfsdir:-${COMINgfs:?}/${cyc}} ;
gfsdir=${gfsdir:-${COMINgfs:?}/${cyc}/${COMPONENT}} ;
gfsdir=${gfsdir:-${COMINgfs:?}} ;
gfsgfile=gfs.t${cyc}z.pgrb2.0p25.f ;

vit_incr=${FHOUT_CYCLONE:-6} ;
Expand Down Expand Up @@ -642,9 +642,9 @@ then
#synvitdir=${COMINgfs:?}/${cyc}/${COMPONENT}
synvitdir=${COMINgfs:?}
synvitfile=gfs.t${cyc}z.syndata.tcvitals.tm00
synvitold_dir=${synvitdir%.*}.${old_4ymd}/${old_hh}/${COMPONENT}
synvitold_dir="${COMINgfs/${PDY}\/${cyc}/${old_4ymd}/${old_hh}}"
synvitold_file=gfs.t${old_hh}z.syndata.tcvitals.tm00
synvitfuture_dir=${synvitdir%.*}.${future_4ymd}/${future_hh}/${COMPONENT}
synvitfuture_dir="${COMINgfs/${PDY}\/${cyc}/${future_4ymd}/${future_hh}}"
synvitfuture_file=gfs.t${future_hh}z.syndata.tcvitals.tm00
else
# synvitdir=${COMROOT}/nam/prod/nam.${PDY}
Expand Down
8 changes: 4 additions & 4 deletions ush/extrkr_tcv_gfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ case ${cmodel} in
gfs) set +x; echo " " ;
echo " ++ operational FV3-GFS chosen" ;
echo " "; set -x ;
gfsdir=${gfsdir:-${COMINgfs:?}/${cyc}/${COMPONENT}} ;
gfsdir=${gfsdir:-${COMINgfs:?}} ;
gfsgfile=gfs.t${cyc}z.pgrb2.0p25.f ;

vit_incr=${FHOUT_CYCLONE:-6} ;
Expand Down Expand Up @@ -414,11 +414,11 @@ future_str="${future_ymd} ${future_hh}00"

if [ ${modtyp} = 'global' ]
then
synvitdir=${COMINgfs:?}/${cyc}/${COMPONENT}
synvitdir="${COMINgfs:?}"
synvitfile=gfs.t${cyc}z.syndata.tcvitals.tm00
synvitold_dir=${synvitdir%.*}.${old_4ymd}/${old_hh}/${COMPONENT}
synvitold_dir="${COMINgfs/${PDY}\/${cyc}/${old_4ymd}/${old_hh}}"
synvitold_file=gfs.t${old_hh}z.syndata.tcvitals.tm00
synvitfuture_dir=${synvitdir%.*}.${future_4ymd}/${future_hh}/${COMPONENT}
synvitfuture_dir="${COMINgfs/${PDY}\/${cyc}/${future_4ymd}/${future_hh}}"
synvitfuture_file=gfs.t${future_hh}z.syndata.tcvitals.tm00
else
# synvitdir=${COMROOT}/nam/prod/nam.${PDY}
Expand Down