Skip to content

Commit

Permalink
feature/gdas_init.v16
Browse files Browse the repository at this point in the history
Update to pull the v16 radstat file.

Issue ufs-community#102.
  • Loading branch information
GeorgeGayno-NOAA committed Jan 11, 2021
1 parent 528b85c commit fa5c3aa
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
10 changes: 5 additions & 5 deletions util/gdas_init/config
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@
EXTRACT_DIR=/scratch2/NCEPDEV/stmp1/George.Gayno/gdas.init/input
EXTRACT_DATA=yes

RUN_CHGRES=yes
RUN_CHGRES=no

yy=2019
mm=08
dd=26
hh=00
yy=2021
mm=01
dd=06
hh=06

LEVS=65

Expand Down
6 changes: 4 additions & 2 deletions util/gdas_init/driver.hera.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,10 @@ if [ $EXTRACT_DATA == yes ]; then
;;
v16)
DATAH=$(sbatch --parsable --partition=service --ntasks=1 --mem=$MEM -t $WALLT -A $PROJECT_CODE -q $QUEUE -J get_hires \
-o log.data.hires -e log.data.hires ./get_v16.data.sh)
DEPEND="-d afterok:$DATAH"
-o log.data.hires -e log.data.hires ./get_v16.data2.sh hires)
DATA1=$(sbatch --parsable --partition=service --ntasks=1 --mem=$MEM -t $WALLT -A $PROJECT_CODE -q $QUEUE -J get_grp1 \
-o log.data.grp1 -e log.data.grp1 ./get_v16.data2.sh grp1)
DEPEND="-d afterok:$DATAH:$DATA1"
;;
esac

Expand Down
5 changes: 4 additions & 1 deletion util/gdas_init/get_v16.data2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ if [ $bundle = 'hires' ]; then
#----------------------------------------------------------------------

directory=/NCEPDEV/emc-meso/2year/Eric.Rogers/rh${yy}/${yy}${mm}/${yy}${mm}${dd}
file=com_gfs_para_gdas.${yy}${mm}${dd}_${hh}.gdas.tar
file=com_gfs_para_gdas.${yy}${mm}${dd}_${hh}.gdas_restart.tar

htar -xvf $directory/$file ./gdas.${yy}${mm}${dd}/${hh}/atmos/gdas.t${hh}z.abias
rc=$?
Expand All @@ -62,6 +62,9 @@ if [ $bundle = 'hires' ]; then
htar -xvf $directory/$file ./gdas.${yy}${mm}${dd}/${hh}/atmos/gdas.t${hh}z.abias_pc
rc=$?
[ $rc != 0 ] && exit $rc
htar -xvf $directory/$file ./gdas.${yy}${mm}${dd}/${hh}/atmos/gdas.t${hh}z.radstat
rc=$?
[ $rc != 0 ] && exit $rc

rm -f ./list.hires*

Expand Down

0 comments on commit fa5c3aa

Please sign in to comment.