{% load i18n help %}{% comment %} The Index settings sheet's fields (#199; "Adjust and recalculate" on Results from #178): every setting of R's step 3, in groups, then the files a run writes (plots, zip, report). Inside the sheet's form (stations/_input_form.html), which scrolls between its header and its foot, so Apply stays in view. Each group is checked as it changes (stations/_indices_unit.html). Each group's help opens in place under its heading (``section_help ... inline=True``): the help drawer would be behind the modal sheet. Context: analysis, form (IndexParamsForm), settings_source, heading (the groups' heading element: h3 under the sheet's h2 title, h2 on the sheet's own page under its h1). {% endcomment %} {% if settings_source == "batch" %}

{% translate "The days, base temperatures, Rnnmm amount and SPEI time scale come from this station's line in the batch metadata file. A change to them applies to this station only." %}

{% endif %}
<{{ heading }} class="settings-group__title" id="settings-plots-title">{% translate "Plots" %}{% section_help "calculate.plots" inline=True %} {% include "stations/_indices_unit.html" with group="plot_title" %}
<{{ heading }} class="settings-group__title" id="settings-spells-title">{% translate "Spell lengths" %}{% section_help "calculate.spells" inline=True %}
{% include "stations/_indices_unit.html" with group="wsdi_days" %} {% include "stations/_indices_unit.html" with group="csdi_days" %} {% include "stations/_indices_unit.html" with group="rx_days" %} {% include "stations/_indices_unit.html" with group="txtn_days" %}
<{{ heading }} class="settings-group__title" id="settings-degree-title">{% translate "Degree days" %}{% section_help "calculate.degree" inline=True %}
{% include "stations/_indices_unit.html" with group="hdd_base" %} {% include "stations/_indices_unit.html" with group="cdd_base" %} {% include "stations/_indices_unit.html" with group="gdd_base" %}
<{{ heading }} class="settings-group__title" id="settings-prcp-title">{% translate "Precipitation and drought" %}{% section_help "calculate.prcp" inline=True %}
{% include "stations/_indices_unit.html" with group="rnnmm" %} {% include "stations/_indices_unit.html" with group="spei_months" %}
<{{ heading }} class="settings-group__title" id="settings-custom-title">{% translate "Your own index" %}{% section_help "calculate.custom" inline=True %} {% include "stations/_indices_unit.html" with group="custom" %}
<{{ heading }} class="settings-group__title" id="settings-ehf-title">{% translate "Heatwave definition" %}{% section_help "calculate.ehf" inline=True %}

{% translate "Heatwaves use the excess heat factor of Nairn and Fawcett (2013). There is nothing to choose." %}

<{{ heading }} class="settings-group__title" id="settings-output-title">{% translate "Files" %}{% section_help "calculate.files" inline=True %} {% include "components/field.html" with field=form.plots %} {% include "components/field.html" with field=form.zip %} {% include "components/field.html" with field=form.report %}