-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathhofx4d.yaml.j2
37 lines (32 loc) · 1.2 KB
/
hofx4d.yaml.j2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Set the model component to be used in later configuration
{% set model_component = model_component|default('model_component') %}
time window:
begin: '{{window_begin}}'
length: '{{window_length}}'
bound to include: '{{ bound_to_include | default("begin", true) }}'
forecast length: '{{window_length}}'
geometry:
{% filter indent(width=2) %}
{% set geometry_background_file = geometry_background_file|default(model_component ~ 'geometry_background', true) ~ '.yaml.j2' %}
{% include geometry_background_file %}
{% endfilter %}
initial condition:
{% filter indent(width=2) %}
{% set initial_condition_file = initial_condition_file|default(model_component ~ 'initial_condition', true) ~ '.yaml.j2' %}
{% include initial_condition_file %}
{% endfilter %}
model:
{% set model_file = model_file|default(model_component ~ 'model', true) ~ '.yaml.j2' %}
{% filter indent(width=2) %}
{% include model_file %}
{% endfilter %}
observations:
obs perturbations: {{ obs_perturbations | default(false, true) }}
observers:
{% for observation_from_jcb in observations %}
{% if use_observer(observation_from_jcb) %}
{% filter indent(width=2) %}
{% include observation_from_jcb + '.yaml.j2' %}
{% endfilter %}
{% endif %}
{% endfor %}