Skip to content

Commit

Permalink
Add cd to ROTDIR when pulling ops warm starts
Browse files Browse the repository at this point in the history
- pull v16 warm starts directly into ROTDIR; don't need temporary location to handle subfolder diffs
- resolves issue with GDATE gdas restart files being left in EXTRACT_DIR

Refs: NOAA-EMC#353
  • Loading branch information
KateFriedman-NOAA committed Jun 23, 2021
1 parent 06c5e3c commit 7ed96c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jobs/rocoto/getic.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ if [[ $gfs_ver = "v16" && $EXP_WARM_START = ".true." && $CASE = $OPS_RES ]]; the

else # Opertional input - warm starts

cd $ROTDIR
# Pull CDATE gfs restart tarball
htar -xvf ${PRODHPSSDIR}/rh${yy}/${yy}${mm}/${yy}${mm}${dd}/com_gfs_prod_gfs.${yy}${mm}${dd}_${hh}.gfs_restart.tar
# Pull GDATE gdas restart tarball
Expand Down

0 comments on commit 7ed96c3

Please sign in to comment.