Skip to content

Commit

Permalink
Fix minimization reduction plot file location, cycle time display (NO…
Browse files Browse the repository at this point in the history
…AA-EMC#31)

NOAA-EMC#30 (add missing reduction plot) was wrong (mostly). The reduction plot
was getting generated but it was not saved to the same location as the
minimization gnorm plots. That's now fixed.

Also I fixed an unrelated problem with the gnorm and reduction labels of
the cycle hour. Turns out `wxflow/jinja's` time filter will accept
strftime( [format string]) so conversion in the yaml file was simple.


Closes NOAA-EMC#30
  • Loading branch information
EdwardSafford-NOAA authored May 3, 2024
1 parent c5f9c95 commit 67c1cde
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions parm/gfs/minGnormOneCycle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ graphics:
y:
variable: gnorm::GsiIeee::log_gnorm_7d
color: 'gray'
label: '7 day mean of 06z cycles'
label: '7 day mean of {{ PDATE | strftime("%H") }}z cycles'

# Reduction single cycle & 7 day hourly mean
# ------------------------------------------
Expand All @@ -108,7 +108,7 @@ graphics:
figure size: [20,18]
tight layout:
title: "Valid: {{ PDATE | to_YMDH }}"
output name: line_plots/minimization/{{MODEL}}_{{RUN}}.{{ PDATE | to_YMDH }}.reduction.png
output name: line_plots/min/{{MODEL}}_{{RUN}}.{{ PDATE | to_YMDH }}.reduction.png
plot logo:
which: 'noaa/nws'
loc: 'upper right'
Expand Down Expand Up @@ -138,5 +138,5 @@ graphics:
y:
variable: gnorm::GsiIeee::allgnorm_7d
color: 'gray'
label: '7 day mean of 06z cycles' # NEED {{HH}} value for 06
label: '7 day mean of {{ PDATE | strftime("%H") }}z cycles'

0 comments on commit 67c1cde

Please sign in to comment.