indices: {% for idx in indices %} {{ idx.var_name }}: reference: {{ idx.reference }} period: allowed: {% for p in idx.period.allowed %} {{ p }}: {% endfor %} default: {{ idx.period.default }} output: var_name: {{ idx.output.var_name }} standard_name: {{ idx.output.standard_name }} {% if idx.output.proposed_standard_name %} proposed_standard_name: {{ idx.output.proposed_standard_name }} {% endif %} long_name: {{ idx.output.long_name }} units: {{ idx.output.units }} cell_methods: {% for cm in idx.output.cell_methods %} - {{ cm }} {% endfor %} input: {% for input in idx.inputs %} var_name: {{ input.var_name }} standard_name: {{ input.standard_name }} cell_methods: {% for cm in input.cell_methods %} - {{ cm }} {% endfor %} {% endfor %} index_function: name: {{ idx.index_function.name }} parameters: {% for param in idx.index_function.parameters %} {{ param.var_name }}: kind: {{ param.kind }} {% if param.kind == 'quantity' %} standard_name: {{ param.standard_name }} data: {{ param.data }} units: {{ param.units }} {% elif param.kind == 'operator' %} operator: '{{ param.operator }}' {% elif param.kind == 'reducer' %} reducer: {{ param.reducer }} {% else %} # Warning: Unknown kind! {% endif %} {% endfor %} ET: short_name: {{ idx.ET.short_name }} long_name: {{ idx.ET.long_name }} definition: {{ idx.ET.definition }} comment: {{ idx.ET.comment }} {% endfor %}