Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Save work in progress.
  • Loading branch information
EdwardSafford-NOAA committed Jun 5, 2024
1 parent 9f9634d commit 982f3c4
Show file tree
Hide file tree
Showing 17 changed files with 579 additions and 202 deletions.
8 changes: 4 additions & 4 deletions driver/runObsMon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,13 @@ export COMOUT=${COMOUT}/${NET}
#-------------------------
# Set up & submit j-job
#
jobname="PlotObsMon"
jobname="PlotObsMon_setup"
jobfile="${JOBSobsmon}/JMON_PLOT_OBS"

LOGDIR="${OM_LOGS}/${MODEL}"
logdir="${OM_LOGS}/${MODEL}"
if [[ ! -d ${logdir} ]]; then mkdir -p ${logdir}; fi

logfile="${OM_LOGS}/${MODEL}/OM_log"
logfile="${logdir}/OM_setup.log"
if [[ -e ${logfile} ]]; then rm ${logfile}; fi

case ${MACHINE_ID} in
Expand All @@ -107,7 +107,7 @@ case ${MACHINE_ID} in
MODEL=${MODEL}, PDY=${PDY}, cyc=${cyc}, DATAROOT=${DATAROOT}, APRUN_PY=${APRUN_PY}, \
MACHINE_ID=${MACHINE_ID}, ACCOUNT=${ACCOUNT}, JOB_QUEUE=${JOB_QUEUE}, SUB=${SUB},
OM_LOGS=${OM_LOGS}" \
-l select=1:mem=500M -l walltime=0:05:00 -N ${jobname} ${jobfile}
-l select=1:mem=500mb -l walltime=0:05:00 -N ${jobname} ${jobfile}
;;
esac

Expand Down
35 changes: 1 addition & 34 deletions jobs/JMON_PLOT_OBS
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,38 +1,5 @@
#!/bin/bash

echo "PYTHONPATH: $PYTHONPATH"
#echo "HOMEobsmon: $HOMEobsmon"
#echo "COMOUT: $COMOUT"
#echo "MODEL: $MODEL"
#echo "PDY: $PDY"
#echo "cyc: $cyc"
#echo "DATAROOT: $DATAROOT"
#echo "APRUN_PY: $APRUN_PY"
echo "PATH: $PATH"
echo "initial module list"
module list
echo ""
echo ""

module purge
echo "after module purge"
module list

module load PrgEnv-intel/8.3.3
module load craype/2.7.17
module load cray-pals/1.2.2
module load git/2.29.0
module load intel/19.1.3.304
module load python/3.10.4
module load ve/evs/1.0
module load libfabric/1.11.0.0
echo ""
echo "reloaded modules"
`module list`

export PATH=$PATH:/lfs/h2/emc/da/noscrub/edward.safford/eva/opt/bin
export PYTHONPATH=$PYTHONPATH:/lfs/h2/emc/da/noscrub/edward.safford/eva/opt/

###########################
# J-job for Mon Plot Obs
###########################
Expand Down Expand Up @@ -85,4 +52,4 @@ fi
#cd ${DATAROOT}
#[[ ${KEEPDATA} = "NO" ]] && rm -rf ${DATA}

report-mem
#report-mem
2 changes: 1 addition & 1 deletion parm/OM_config
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ case ${MACHINE_ID} in
queue="dev"
project="GDAS-DEV"
account="GFS-DEV"
aprun_py="python"
aprun_py=`which python`
;;
esac

Expand Down
20 changes: 10 additions & 10 deletions parm/gfs/conTime.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -460,13 +460,13 @@ graphics:
figure:
layout: [4,1]
figure size: [20,18]
tight layout:
# tight layout:
title: "Valid: {{ PDATE | to_YMDH }} \n ${datatype}, Global, All Levels"
output name: line_plots/con/time/${datatype}_count.{{ PDATE | to_YMDH }}.png
plot logo:
which: 'noaa/nws'
loc: 'upper left'
subplot_orientation: 'last'
# plot logo:
# which: 'noaa/nws'
# loc: 'upper left'
# subplot_orientation: 'last'

plots:
- add_xlabel: 'Assimilated'
Expand Down Expand Up @@ -584,13 +584,13 @@ graphics:
figure:
layout: [6,1]
figure size: [20,18]
tight layout:
# tight layout:
title: "Valid: {{ PDATE | to_YMDH }}\n ${datatype}, Global, All Levels"
output name: line_plots/con/time/${datatype}_bias.{{ PDATE | to_YMDH }}.png
plot logo:
which: 'noaa/nws'
loc: 'upper left'
subplot_orientation: 'last'
# plot logo:
# which: 'noaa/nws'
# loc: 'upper left'
# subplot_orientation: 'last'

plots:
- add_xlabel: 'Obs-Ges Assimilated'
Expand Down
10 changes: 5 additions & 5 deletions parm/gfs/conVert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,13 @@ graphics:
figure:
layout: [2,2]
figure size: [20,18]
tight layout:
# tight layout:
title: "Valid: {{ PDATE | to_YMDH }} \n ${datatype}, Global"
output name: line_plots/con/vert/${datatype}.vert.png
plot logo:
which: 'noaa/nws'
loc: 'upper left'
subplot_orientation: 'first'
# plot logo:
# which: 'noaa/nws'
# loc: 'upper left'
# subplot_orientation: 'first'

plots:
- add_xlabel: 'Assimilated'
Expand Down
Loading

0 comments on commit 982f3c4

Please sign in to comment.