Skip to content

Commit

Permalink
Return plot logo and tight layout to yaml template files (NOAA-EMC#52)
Browse files Browse the repository at this point in the history
With the addition of JCSDA-internal/eva#213 to
eva `plot logo` and `tight layout` can now be used again in the yaml
template plot files.

Note that the `obs-mon` python ve needs to be updated on each machine to
pull in the latest version of `eva.` At the moment the `obs-mon` ve is
located in my `noscrub` space so I can do that. I've updated the ve on
hera, which is where I tested these changes, and update the ve on
wcoss2, orion, and hercules this morning.

 
Closes NOAA-EMC#51
  • Loading branch information
EdwardSafford-NOAA authored Nov 20, 2024
1 parent 92520fa commit d0f12a0
Show file tree
Hide file tree
Showing 10 changed files with 68 additions and 68 deletions.
20 changes: 10 additions & 10 deletions parm/templates/conTime.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -233,13 +233,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 @@ -357,13 +357,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/templates/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
8 changes: 4 additions & 4 deletions parm/templates/minGnormFourCycle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,12 @@ graphics:
- figure:
layout: [1,1]
figure size: [20,18]
# tight layout:
tight layout:
title: "Valid: {{ PDATE | to_YMDH }}"
output name: line_plots/min/{{MODEL}}_{{RUN}}.4cycle.gnorms.png
# plot logo:
# which: 'noaa/nws'
# loc: 'upper center'
plot logo:
which: 'noaa/nws'
loc: 'upper center'

plots:
- add_xlabel: 'Iteration Number'
Expand Down
16 changes: 8 additions & 8 deletions parm/templates/minGnormOneCycle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@ graphics:
- figure:
layout: [1,1]
figure size: [20,18]
# tight layout:
tight layout:
title: "Valid: {{ PDATE | to_YMDH }}"
output name: line_plots/min/{{MODEL}}_{{RUN}}.{{ PDATE | to_YMDH }}.gnorms.png
# plot logo:
# which: 'noaa/nws'
# loc: 'upper right'
plot logo:
which: 'noaa/nws'
loc: 'upper right'

plots:
- add_xlabel: 'Iteration Number'
Expand Down Expand Up @@ -106,12 +106,12 @@ graphics:
- figure:
layout: [1,1]
figure size: [20,18]
# tight layout:
tight layout:
title: "Valid: {{ PDATE | to_YMDH }}"
output name: line_plots/min/{{MODEL}}_{{RUN}}.{{ PDATE | to_YMDH }}.reduction.png
# plot logo:
# which: 'noaa/nws'
# loc: 'upper right'
plot logo:
which: 'noaa/nws'
loc: 'upper right'

plots:
- add_xlabel: 'Iteration Number'
Expand Down
10 changes: 5 additions & 5 deletions parm/templates/minSummary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ graphics:
- figure:
layout: [3,1]
figure size: [20,18]
# tight layout:
tight layout:
title: "Valid: {{ PDATE | to_YMDH }}"
output name: line_plots/min/{{MODEL}}_{{RUN}}.summary.gnorms.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: 'Cycle Time'
Expand Down
10 changes: 5 additions & 5 deletions parm/templates/oznSummary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -180,13 +180,13 @@ graphics:
- figure:
layout: [3,1]
figure size: [20,18]
# tight layout:
tight layout:
title: "Summary Plot {{SENSOR}}_{{SAT}} \n Valid: {{ PDATE | to_YMDH }}"
output name: line_plots/ozn/summary/{{SENSOR}}_{{SAT}}.summary.png
# plot logo:
# which: 'noaa/nws'
# loc: 'upper left'
# subplot_orientation: 'first'
plot logo:
which: 'noaa/nws'
loc: 'upper left'
subplot_orientation: 'first'
plots:
# Obs counts, last 4 cycles
# -------------------------
Expand Down
16 changes: 8 additions & 8 deletions parm/templates/oznTime.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ graphics:
figure:
layout: [1,1]
figure size: [20,18]
# tight layout:
tight layout:
title: "${variable}, {{SENSOR}}_{{SAT}} level ${level} \n Valid: {{ PDATE | to_YMDH }}"
output name: line_plots/ozn/time/{{SENSOR}}_{{SAT}}.${level}.${variable}.png
# plot logo:
# which: 'noaa/nws'
# loc: 'upper right'
plot logo:
which: 'noaa/nws'
loc: 'upper right'

plots:
- add_xlabel: 'Cycle'
Expand Down Expand Up @@ -83,12 +83,12 @@ graphics:
figure:
layout: [2,1]
figure size: [20,18]
# tight layout:
tight layout:
title: "obs-{{COMPONENT}} {{SENSOR}}_{{SAT}} level ${level} \n Valid: {{ PDATE | to_YMDH }}"
output name: line_plots/ozn/time/{{SENSOR}}_{{SAT}}.${level}.omg.png
# plot logo:
# which: 'noaa/nws'
# loc: 'upper right'
plot logo:
which: 'noaa/nws'
loc: 'upper right'

plots:
- add_xlabel: 'Cycle'
Expand Down
12 changes: 6 additions & 6 deletions parm/templates/radAngle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,9 @@ graphics:
figure size: [20,18]
title: "${variable}, {{SENSOR}}_{{SAT}} channel ${channel} \n Valid: {{ PDATE | to_YMDH }}"
output name: line_plots/rad/angle/angle.{{SENSOR}}_{{SAT}}.${channel}.${variable}.png
# plot logo:
# which: 'noaa/nws'
# loc: 'upper left'
plot logo:
which: 'noaa/nws'
loc: 'upper left'

plots:

Expand Down Expand Up @@ -202,9 +202,9 @@ graphics:
figure size: [20,18]
title: "${variable}, {{SENSOR}}_{{SAT}} channel ${channel} \n Valid: {{ PDATE | to_YMDH }}"
output name: line_plots/rad/angle/angle.{{SENSOR}}_{{SAT}}.${channel}.${variable}.png
# plot logo:
# which: 'noaa/nws'
# loc: 'upper left'
plot logo:
which: 'noaa/nws'
loc: 'upper left'

plots:
- add_xlabel: 'Scan Position'
Expand Down
8 changes: 4 additions & 4 deletions parm/templates/radBcoef.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ graphics:
figure:
layout: [1,1]
figure size: [20,18]
# tight layout:
tight layout:
title: "${variable}, {{SENSOR}}_{{SAT}} channel ${channel} \n Valid: {{ PDATE | to_YMDH }}"
output name: line_plots/rad/bcoef/bcoef.{{SENSOR}}_{{SAT}}.${channel}.${variable}.png
# plot logo:
# which: 'noaa/nws'
# loc: 'upper right'
plot logo:
which: 'noaa/nws'
loc: 'upper right'

plots:
- add_xlabel: 'Cycle'
Expand Down
26 changes: 13 additions & 13 deletions parm/templates/radTime.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -213,12 +213,12 @@ graphics:
figure:
layout: [1,1]
figure size: [20,18]
# tight layout:
tight layout:
title: "${variable}, {{SENSOR}}_{{SAT}} channel ${channel} \n Valid: {{ PDATE | to_YMDH }}"
output name: line_plots/rad/time/time.{{SENSOR}}_{{SAT}}.${channel}.${variable}.png
# plot logo:
# which: 'noaa/nws'
# loc: 'upper right'
plot logo:
which: 'noaa/nws'
loc: 'upper right'

plots:
- add_xlabel: 'Cycle'
Expand All @@ -241,12 +241,12 @@ graphics:
figure:
layout: [1,1]
figure size: [20,18]
# tight layout:
tight layout:
title: "${variable}, {{SENSOR}}_{{SAT}} channel ${channel} \n Valid: {{ PDATE | to_YMDH }}"
output name: line_plots/rad/time/time.{{SENSOR}}_{{SAT}}.${channel}.${variable}.png
# plot logo:
# which: 'noaa/nws'
# loc: 'upper right'
plot logo:
which: 'noaa/nws'
loc: 'upper right'

plots:
- add_xlabel: 'Cycle'
Expand All @@ -263,13 +263,13 @@ graphics:
- figure:
layout: [4,1]
figure size: [20,18]
# tight layout:
tight layout:
title: "Summary Plot {{SENSOR}}_{{SAT}} \n Valid: {{ PDATE | to_YMDH }}"
output name: line_plots/rad/summary/summary.{{SENSOR}}_{{SAT}}.png
# plot logo:
# which: 'noaa/nws'
# loc: 'upper center'
# subplot_orientation: 'first'
plot logo:
which: 'noaa/nws'
loc: 'upper center'
subplot_orientation: 'first'
plots:
# Obs counts, last 4 cycles
# -------------------------
Expand Down

0 comments on commit d0f12a0

Please sign in to comment.