Skip to content

Commit

Permalink
Correct 'include' tabbing
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidHuber-NOAA committed Jul 1, 2024
1 parent 04a355a commit 18d0d92
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 32 deletions.
8 changes: 4 additions & 4 deletions parm/archive/master_enkf.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ datasets:
{% if ENSGRP == 0 %}
{% filter indent(width=4) %}
# Archive the ensemble means and spreads
{%- include "enkf.yaml.j2" %}
{% include "enkf.yaml.j2" %}
{% endfilter %}
{% else %}

Expand Down Expand Up @@ -86,7 +86,7 @@ datasets:

# Archive member data
{% filter indent(width=4) %}
{%- include "enkf_grp.yaml.j2" %}
{% include "enkf_grp.yaml.j2" %}
{% endfilter %}

# Determine if restarts should be saved
Expand All @@ -97,7 +97,7 @@ datasets:
{% if (current_cycle - SDATE).days % ARCH_WARMICFREQ == 0 %}
{% if ARCH_CYC == cycle_HH | int %}
{% filter indent(width=4) %}
{%- include "enkf_restarta_grp.yaml.j2" %}
{% include "enkf_restarta_grp.yaml.j2" %}
{% endfilter %}
{% endif %}
{% endif %}
Expand All @@ -107,7 +107,7 @@ datasets:
{% if (current_cycle | add_to_datetime(ics_offset) - SDATE).days % ARCH_WARMICFREQ == 0 %}
{% if (ARCH_CYC - assim_freq) % 24 == cycle_HH | int %}
{% filter indent(width=4) %}
{%- include "enkf_restartb_grp.yaml.j2" %}
{% include "enkf_restartb_grp.yaml.j2" %}
{% endfilter %}
{% endif %}
{% endif %}
Expand Down
20 changes: 10 additions & 10 deletions parm/archive/master_gdas.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -16,33 +16,33 @@
datasets:
# Always archive atmosphere forecast/analysis data
{% filter indent(width=4) %}
{%- include "gdas.yaml.j2" %}
{% include "gdas.yaml.j2" %}
{% endfilter %}

{% if DO_ICE %}
# Ice data
{% filter indent(width=4) %}
{%- include "gdasice.yaml.j2" %}
{% include "gdasice.yaml.j2" %}
{% endfilter %}
{% endif %}

{% if DO_OCN %}
# Ocean forecast products
{% filter indent(width=4) %}
{%- include "gdasocean.yaml.j2" %}
{% include "gdasocean.yaml.j2" %}
{% endfilter %}
{% if DO_JEDIOCNVAR and MODE == "cycled" %}
# Ocean analysis products
{% filter indent(width=4) %}
{%- include "gdasocean_analysis.yaml.j2" %}
{% include "gdasocean_analysis.yaml.j2" %}
{% endfilter %}
{% endif %}
{% endif %}

{% if DO_WAVE %}
# Wave products
{% filter indent(width=4) %}
{%- include "gdaswave.yaml.j2" %}
{% include "gdaswave.yaml.j2" %}
{% endfilter %}
{% endif %}

Expand Down Expand Up @@ -72,27 +72,27 @@ datasets:
# Save warm start forecast-only data
# Atmosphere restarts
{% filter indent(width=4) %}
{%- include "gdas_restarta.yaml.j2" %}
{% include "gdas_restarta.yaml.j2" %}
{% endfilter %}

{% if DO_WAVE %}
# Wave restarts
{% filter indent(width=4) %}
{%- include "gdaswave_restart.yaml.j2" %}
{% include "gdaswave_restart.yaml.j2" %}
{% endfilter %}
{% endif %}

{% if DO_OCN %}
# Ocean restarts
{% filter indent(width=4) %}
{%- include "gdasocean_restart.yaml.j2" %}
{% include "gdasocean_restart.yaml.j2" %}
{% endfilter %}
{% endif %}

{% if DO_ICE %}
# Ice restarts
{% filter indent(width=4) %}
{%- include "gdasice_restart.yaml.j2" %}
{% include "gdasice_restart.yaml.j2" %}
{% endfilter %}
{% endif %}

Expand All @@ -102,7 +102,7 @@ datasets:
{% if save_warm_start_cycled %}
# Save warm start cycled restarts
{% filter indent(width=4) %}
{%- include "gdas_restartb.yaml.j2" %}
{% include "gdas_restartb.yaml.j2" %}
{% endfilter %}
{% endif %}

Expand Down
36 changes: 18 additions & 18 deletions parm/archive/master_gfs.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -19,60 +19,60 @@
datasets:
# Always archive atmosphere forecast/analysis data
{% filter indent(width=4) %}
{%- include "gfsa.yaml.j2" %}
{%- include "gfsb.yaml.j2" %}
{% include "gfsa.yaml.j2" %}
{% include "gfsb.yaml.j2" %}
{% endfilter %}

{% if ARCH_GAUSSIAN %}
# Archive Gaussian data
{% filter indent(width=4) %}
{%- include "gfs_flux.yaml.j2" %}
{%- include "gfs_netcdfb.yaml.j2" %}
{%- include "gfs_pgrb2b.yaml.j2" %}
{% include "gfs_flux.yaml.j2" %}
{% include "gfs_netcdfb.yaml.j2" %}
{% include "gfs_pgrb2b.yaml.j2" %}
{% endfilter %}
{% if MODE == "cycled" %}
# Archive Gaussian analysis data
{% filter indent(width=4) %}
{%- include "gfs_netcdfa.yaml.j2" %}
{% include "gfs_netcdfa.yaml.j2" %}
{% endfilter %}
{% endif %}
{% endif %}

{% if DO_WAVE %}
# Wave forecasts
{% filter indent(width=4) %}
{%- include "gfswave.yaml.j2" %}
{% include "gfswave.yaml.j2" %}
{% endfilter %}
{% endif %}

{% if AERO_FCST_CDUMP == "gfs" or AERO_FCST_CDUMP == "both" %}
# Aerosol forecasts
{% filter indent(width=4) %}
{%- include "chem.yaml.j2" %}
{% include "chem.yaml.j2" %}
{% endfilter %}
{% endif %}

{% if DO_OCN %}
# Ocean forecasts
{% filter indent(width=4) %}
{%- include "ocean_6hravg.yaml.j2" %}
{%- include "ocean_grib2.yaml.j2" %}
{%- include "gfs_flux_1p00.yaml.j2" %}
{% include "ocean_6hravg.yaml.j2" %}
{% include "ocean_grib2.yaml.j2" %}
{% include "gfs_flux_1p00.yaml.j2" %}
{% endfilter %}
{% endif %}

{% if DO_ICE %}
# Ice forecasts
{% filter indent(width=4) %}
{%- include "ice_6hravg.yaml.j2" %}
{%- include "ice_grib2.yaml.j2" %}
{% include "ice_6hravg.yaml.j2" %}
{% include "ice_grib2.yaml.j2" %}
{% endfilter %}
{% endif %}

{% if DO_BUFRSND %}
# Downstream BUFR soundings
{% filter indent(width=4) %}
{%- include "gfs_downstream.yaml.j2" %}
{% include "gfs_downstream.yaml.j2" %}
{% endfilter %}
{% endif %}

Expand All @@ -81,7 +81,7 @@ datasets:

{% if not REALTIME %}
{% filter indent(width=4) %}
{%- include "gfsmos.yaml.j2" %}
{% include "gfsmos.yaml.j2" %}
{% endfilter %}

{% else %}
Expand All @@ -90,7 +90,7 @@ datasets:
{% set td_one_day = "+1D" | to_timedelta %}
{% if td_from_sdate > td_one_day %}
{% filter indent(width=4) %}
{%- include "gfsmos.yaml.j2" %}
{% include "gfsmos.yaml.j2" %}
{% endfilter %}
{% endif %}

Expand All @@ -102,11 +102,11 @@ datasets:
# Save the forecast-only cycle ICs every ARCH_WARMICFREQ or ARCH_FCSTICFREQ days
{% if (current_cycle - SDATE).days % ARCH_WARMICFREQ == 0 %}
{% filter indent(width=4) %}
{%- include "gfs_restarta.yaml.j2" %}
{% include "gfs_restarta.yaml.j2" %}
{% endfilter %}
{% elif (current_cycle - SDATE).days % ARCH_FCSTICFREQ == 0 %}
{% filter indent(width=4) %}
{%- include "gfs_restarta.yaml.j2" %}
{% include "gfs_restarta.yaml.j2" %}
{% endfilter %}
{% endif %}
{% endif %}

0 comments on commit 18d0d92

Please sign in to comment.