{% load i18n ui help %}{% comment %} What is in the station file, on Quality after the checks ("Your data", #198), compact (#202): chips for the period, the years and days, the days missing in each variable and the years too incomplete for annual values (the climdex rules: more than 15 missing days, or a month with more than 3); then disclosures with the missing days per year (from qc/nastatistics, once the checks have run), the daily series and the days with data in each year. The file is replaced in the Inputs panel. Parameters from views.summary_context, and review (qc_review.Review) when the checks of this file have run (not stale). {% endcomment %}

{% translate "Your data" %}

{% translate "Missing values and the daily series" %}

{% section_help "load.data" %}
{% if review and not stale %}{% with missing=review.years_missing %}{% if missing %}
{% icon "table" %}{% blocktranslate count counter=missing|length with total=review.years|length trimmed %}Missing days per year: {{ counter }} of {{ total }} year has some{% plural %}Missing days per year: {{ counter }} of {{ total }} years have some{% endblocktranslate %}{% icon "chevron-down" %}

{% translate "“No annual value”: more than 15 missing days, or a month with more than 3. Those years have their annual indices left missing." %}

{% section_help "quality.missing" %}
{% for year in missing %} {% for cell in year.cells %}{% endfor %} {% endfor %}
{% translate "Missing days per year, and months with more than 3 missing days" %}
{% translate "Year" %} {% translate "PR" %} {% translate "TX" %} {% translate "TN" %}
{{ year.year }}{% if cell.days %}{{ cell.days }}{% if cell.months %} {% blocktranslate count counter=cell.months trimmed %}({{ counter }} month){% plural %}({{ counter }} months){% endblocktranslate %}{% endif %}{% if cell.no_annual %}{% translate "no annual value" %}{% endif %}{% else %}{{ cell.days }}{% endif %}
{% endif %}{% endwith %}{% endif %}
{% icon "chart" %}{% translate "Daily series" %}{% icon "chevron-down" %}
{% comment %} The interactive daily series (#75): data from charts:station_daily, without the quality checks' flags, which belong to the next step (#173); 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.workspace_id analysis.slug 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|add:"?flags=0" csv_href=series_url height="24rem" only %} {% include "stations/_series_preview.html" %}
{% 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 %}