{% load i18n ui %}{% comment %} What the chosen variables make together, checked as the set-up form changes (htmx posts the form to gridded:checks and swaps in this panel): the variables' problems, the grid and period, the base period's coverage and the files the run will write. Parameters: problems, summary, coverage, outputs, form. {% endcomment %}
{% icon "grid" %}{% blocktranslate with ny=summary.ny nx=summary.nx cells=summary.cells first=summary.first last=summary.last calendar=summary.calendar trimmed %} {{ ny }} × {{ nx }} grid ({{ cells }} cells), {{ first }} to {{ last }}, {{ calendar }} calendar. {% endblocktranslate %}
{% endif %} {% if coverage %} {% if form.task.value == "indices" and form.thresholds_source.value == "file" %} {% elif coverage.days < coverage.min %}{% icon "warning" %}{% blocktranslate with days=coverage.days|count min=coverage.min|count %}The data cover {{ days }} days of the base period; at least {{ min }} are needed to calculate the thresholds.{% endblocktranslate %}
{% else %}{% icon "check" %}{% blocktranslate with days=coverage.days|count %}The data cover {{ days }} days of the base period.{% endblocktranslate %}
{% endif %} {% endif %} {% if outputs.count and form.task.value != "thresholds" %}{% icon "file" %}{% blocktranslate count counter=outputs.count with example=outputs.examples.0 trimmed %}{{ counter }} index file will be written, e.g. {{ example }}.{% plural %}{{ counter }} index files will be written, e.g. {{ example }}.{% endblocktranslate %}
{% endif %}