{% load i18n ui help %}{% comment %} The batch options (the R batch screen's base period and number of cores, and the plots), checked as they change: htmx posts the form to batch:options and swaps in this fragment with the base period's coverage notes and the time estimate. Without JavaScript they are checked when the form is sent. Parameters: run, options (OptionsForm), coverage, estimate. {% endcomment %}
{% translate "Base period" %}

{% translate "The years the percentile thresholds are calculated from, the same for every station. Climpact for R suggests 1971 to 2000." %}

{% help_topic "batch.base_period" %}
{% include "components/field.html" with field=options.base_start %} {% include "components/field.html" with field=options.base_end %}
{% if coverage %}
{% icon "warning" %}

{% blocktranslate count counter=coverage|length trimmed %}Less than a year of the base period is covered by this station's data, so its percentile thresholds and the indices that use them (TX90p, WSDI, R95p and others) cannot be calculated:{% plural %}Less than a year of the base period is covered by these stations' data, so their percentile thresholds and the indices that use them (TX90p, WSDI, R95p and others) cannot be calculated:{% endblocktranslate %}

    {% for note in coverage %}
  • {% blocktranslate with name=note.name first=note.first last=note.last %}{{ name }} (data {{ first }} to {{ last }}){% endblocktranslate %}
  • {% endfor %}
{% endif %} {% if options.workers %}{% include "components/field.html" with field=options.workers narrow=True help="batch.workers" %}{% endif %} {% include "components/field.html" with field=options.plots help="batch.plots" %} {% if estimate %}

{% icon "clock" %}{% blocktranslate %}This should take {{ estimate }}, as a rough guide.{% endblocktranslate %}

{% endif %}