{% load i18n ui %}{% comment %} What is in the station file (step 1): period, days missing per variable, a preview of the series and the days with data in each year. Parameters from views.summary_context. {% endcomment %}

{% translate "Your data" %}

{% translate "Period" as period_label %}{% blocktranslate asvar period with first=summary.first_date last=summary.last_date %}{{ first }} to {{ last }}{% endblocktranslate %} {% include "components/stat.html" with label=period_label value=period note="" %} {% translate "Years" as years_label %} {% include "components/stat.html" with label=years_label value=year_count note="" %} {% translate "Days" as days_label %}{% translate "from the first row to the last" as days_note %} {% include "components/stat.html" with label=days_label value=summary.days|count note=days_note %}
{% for variable in variables %} {% endfor %}
{% translate "Missing values by variable" %}
{% translate "Variable" %} {% translate "Days with data" %} {% translate "Days missing" %} {% translate "Missing" %}
{{ variable.label }} {{ variable.present|count }} {{ variable.missing|count }} {{ variable.percent_text }}
{% comment %} The interactive daily series (#75): data from charts:station_daily, with the values the quality checks flag; the table view lists the days in view. Without JavaScript the static monthly overview (preview.py) is shown instead. {% endcomment %} {% url "charts:station_daily" analysis.pk as daily_url %}{% url "stations:series" analysis.pk as series_url %} {% translate "Daily series" as daily_title %} {% include "components/chart_frame.html" with id="daily-chart" title=daily_title data_url=daily_url csv_href=series_url height="24rem" only %}
{% icon "table" %}{% translate "Days with data in each year" %}{% icon "chevron-down" %}
{% for variable in variables %}{% endfor %} {% for year in years %} {% for cell in year.cells %}{% endfor %} {% endfor %}
{% translate "Days with data in each year, and the share of the year's days" %}
{% translate "Year" %}{{ variable.label }}
{{ year.year }}{% blocktranslate with days=cell.value percent=cell.percent %}{{ days }} ({{ percent }}%){% endblocktranslate %}
{% icon "upload" %}{% translate "Use a different file" %}{% icon "chevron-down" %}
{% csrf_token %} {% include "components/dropzone.html" with field=replace_form.station_file hint="" %}

{% translate "The station details below are kept. Later steps start again with the new file." %}

{% turnstile %}
{% translate "Load this file instead" as replace_label %} {% include "components/button.html" with label=replace_label type="submit" variant="secondary" %}