Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Rm debug statements.
  • Loading branch information
EdwardSafford-NOAA committed Dec 21, 2022
1 parent 918f346 commit fa4568a
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 21 deletions.
7 changes: 0 additions & 7 deletions src/Conventional_Monitor/data_extract/ush/ConMon_DE.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ jobname=ConMon_DE_${CONMON_SUFFIX}
echo "C_TANKDIR = ${C_TANKDIR}"
echo "C_LOGDIR = ${C_LOGDIR}"
echo "C_IMGNDIR = ${C_IMGNDIR}"
echo "MON_USH = $MON_USH"

if [[ ! -d ${C_TANKDIR} ]]; then
mkdir -p ${C_TANKDIR}
Expand Down Expand Up @@ -141,8 +140,6 @@ if [[ ${#cnvstat_location} -le 0 ]]; then
export cnvstat_location=${COMROOT}/gfs/${gfs_ver}
fi
export CNVSTAT_LOCATION=${cnvstat_location}
echo "CNVSTAT_LOCATION = $CNVSTAT_LOCATION"

export COMPONENT=${COMPONENT:-atmos}

export C_DATDIR=${C_DATDIR:-${CNVSTAT_LOCATION}/${RUN}.${PDY}/${CYC}/${COMPONENT}}
Expand Down Expand Up @@ -181,10 +178,6 @@ if [[ ! -s ${pgrbf06} ]]; then
export pgrbf06="${C_GDATDIR}/gdas.t${GCYC}z.pgrb2.1p00.f006"
fi

echo "cnvstat = $cnvstat"
echo "pgrbf00 = $pgrbf00"
echo "pgrbf06 = $pgrbf06"


#---------------------------------------------
# override the default convinfo definition
Expand Down
19 changes: 14 additions & 5 deletions src/Conventional_Monitor/image_gen/ush/plot_horz.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
#----------------------------------------------------------------------------------------
echo "--> plot_horz.sh"

hh_tankdir=${C_TANKDIR}/${RUN}.${PDY}/${CYC}/conmon/horz_hist
hh_tankdir=`$MON_USH/get_stats_path.sh --run $RUN --pdate ${PDATE} \
--net ${CONMON_SUFFIX} --tank ${TANKDIR} --mon conmon`
hh_tankdir=${hh_tankdir}/horz_hist

export xsize=x800
export ysize=y600
Expand All @@ -23,11 +25,18 @@
#----------------------------------------------------------------------
# link in the analysis and guess data files
#----------------------------------------------------------------------
${UNCOMPRESS} ${hh_tankdir}/anl/anal.${PDATE}.${Z}
${UNCOMPRESS} ${hh_tankdir}/ges/guess.${PDATE}.${Z}
anl_file=${hh_tankdir}/anl/anal.${PDATE}
ges_file=${hh_tankdir}/ges/guess.${PDATE}

ln -s ${hh_tankdir}/anl/anal.${PDATE} anal.${PDATE}
ln -s ${hh_tankdir}/ges/guess.${PDATE} guess.${PDATE}
if [[ -e ${anl_file}.gz ]]; then
${UNCOMPRESS} ${anl_file}.gz
fi
if [[ -e ${ges_file}.gz ]]; then
${UNCOMPRESS} ${ges_file}.gz
fi

ln -s ${anl_file} anal.${PDATE}
ln -s ${ges_file} guess.${PDATE}


#----------------------------------------------------------------------
Expand Down
19 changes: 14 additions & 5 deletions src/Conventional_Monitor/image_gen/ush/plot_horz_uv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
#---------------------------------------------------------------------
echo "--> plot_horz_uv.sh"

hh_tankdir=${C_TANKDIR}/${RUN}.${PDY}/${CYC}/conmon/horz_hist
hh_tankdir=`$MON_USH/get_stats_path.sh --run $RUN --pdate ${PDATE} \
--net ${CONMON_SUFFIX} --tank ${TANKDIR} --mon conmon`
hh_tankdir=${hh_tankdir}/horz_hist

workdir=${C_PLOT_WORKDIR}/plothorz_uv
if [[ -d ${workdir} ]]; then
Expand All @@ -22,11 +24,18 @@
#----------------------------------------------------------------------
# Link in the analysis and guess data files
#----------------------------------------------------------------------
${UNCOMPRESS} ${hh_tankdir}/anl/anal.${PDATE}.gz
${UNCOMPRESS} ${hh_tankdir}/ges/guess.${PDATE}.gz
anl_file=${hh_tankdir}/anl/anal.${PDATE}
ges_file=${hh_tankdir}/ges/guess.${PDATE}

ln -s ${hh_tankdir}/anl/anal.${PDATE} anal.${PDATE}
ln -s ${hh_tankdir}/ges/guess.${PDATE} guess.${PDATE}
if [[ -e ${anl_file}.gz ]]; then
${UNCOMPRESS} ${anl_file}.gz
fi
if [[ -e ${ges_file}.gz ]]; then
${UNCOMPRESS} ${ges_file}.gz
fi

ln -s ${anl_file} anal.${PDATE}
ln -s ${ges_file} guess.${PDATE}


#----------------------------------------------------------------------
Expand Down
6 changes: 2 additions & 4 deletions src/Conventional_Monitor/image_gen/ush/plot_time_ps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#---------------------------------------------------

${NCP} ${C_IG_GSCRIPTS}/plotstas_time_count_ps.gs .
${NCP} ${C_IG_GSCRIPTS}/plotstas_time_bias_ps.gs .
${NCP} ${C_IG_GSCRIPTS}/plotstas_time_bias2_ps.gs .

#---------------------------------------------------
# Link in the data files.
Expand Down Expand Up @@ -93,9 +93,7 @@

grads -bpc "run ./plotstas_time_count_ps.gs"

grads -bpc "run ./plotstas_time_bias_ps.gs"

# grads -bpc "run ./plotstas_time_bias2_ps.gs"
grads -bpc "run ./plotstas_time_bias2_ps.gs"

img_files=`ls *.png`
for imgf in ${img_files}; do
Expand Down

0 comments on commit fa4568a

Please sign in to comment.