Skip to content

Commit

Permalink
issue #15 Porting bufrsnd to Hera and remove height adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
GuangPingLou-NOAA committed Jan 31, 2020
1 parent 85dc2f2 commit a0ac43a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions scripts/exgfs_postsnd.sh.ecf
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,15 @@ fi
rm -f -r ${COMOUT}/bufr.${cycle}
mkdir -p ${COMOUT}/bufr.${cycle}

if [ -f $HOMEgfs/ush/getncdimlen ]
then
GETDIM=$HOMEgfs/ush/getncdimlen
else
GETDIM=$EXECbufrsnd/getncdimlen
fi
if [ $fformat == "netcdf" ]
then
export LEVS=`$HOMEgfs/ush/getncdimlen $COMIN/${RUN}.${cycle}.atmf000.${atmfm} pfull`
export LEVS=`$GETDIM $COMIN/${RUN}.${cycle}.atmf000.${atmfm} pfull`
else
# Extract number of vertical levels from $STARTHOUR atmospheric file
export NEMSIOGET=${NEMSIOGET:-$EXECbufrsnd/nemsio_get}
Expand Down Expand Up @@ -177,4 +183,3 @@ msg='HAS COMPLETED NORMALLY.'
#postmsg "$jlogfile" "$msg"

############## END OF SCRIPT #######################

0 comments on commit a0ac43a

Please sign in to comment.