{% extends "base.html" %} {% load charts i18n static ui %} {% block title %}{% blocktranslate with code=card.code name=card.title station=analysis.station_name %}{{ code }} {{ name }}: {{ station }}{% endblocktranslate %}{% endblock %} {% block head %}{% if chart_data %}{% chart_scripts %}{% endif %}{% endblock %} {% block content %} {% comment %}One index (#237, the Index board): its context bar (the breadcrumb with the previous and next index, the index's name and theme, its definition, the provenance line and its files), then the chart beside the statistics, then the values as a table. A drill-down from the Indices: no section tabs and no Inputs panel, so the chart has the width; the provenance line says what made it.{% endcomment %}
{% include "components/context_bar.html" with title_template="stations/_index_title.html" lead_template="stations/_index_lead.html" provenance=provenance breadcrumb=breadcrumb step_previous=step_previous step_next=step_next actions="stations/_index_actions.html" flow=True tabs="" below="" %} {% if running and not running.job.is_finished %} {% url 'stations:results' analysis.workspace_id analysis.slug as results_url %}{% translate "These results are out of date. Recalculating with your new inputs: these values stay until the new ones are ready." as running_message %}{% translate "See the progress" as running_label %} {% include "components/alert.html" with kind="info" title="" message=running_message action_href=results_url action_label=running_label %} {% elif stale %} {% translate "These results are out of date. They are from before your last change." as stale_message %}{% url 'stations:results' analysis.workspace_id analysis.slug as results_url %}{% translate "See what changed" as results_label %} {% include "components/alert.html" with kind="warning" title="" message=stale_message action_href=results_url action_label=results_label %} {% endif %} {% if card.daily %}

{% translate "Daily values" %}

{% blocktranslate with days=card.daily.days|count first=card.daily.first last=card.daily.last missing=card.daily.missing positive=card.daily.positive trimmed %} {{ days }} days from {{ first }} to {{ last }}. {{ positive }} are above zero and {{ missing }} are missing. Climpact for R does not plot this table. The ten highest days are below, and the CSV has them all. {% endblocktranslate %}

{% for row in card.daily.top %}{% endfor %}
{% translate "The ten highest days" %}
{% translate "Date" %}{% blocktranslate with column=card.daily.column %}{{ column }} (°C²){% endblocktranslate %}
{{ row.date }}{{ row.text }}
{% else %}

{{ series_name }}

{% if views or periods %}
{% if views %}
{% for v in views %}{{ v.label }}{% endfor %}
{% endif %} {% if periods %}
{% for p in periods %}{{ p.label }}{% endfor %}
{% endif %}
{% endif %} {% if charts %} {% comment %}The chart drawn on the server is the chart without JavaScript and in print; with it, charts.js draws the same marks from #index-chart-data in the plot under it and adds the read-out, zoom, move, Show all and PNG and SVG of the view (#283).{% endcomment %}
{% blocktranslate with series=series_name asvar chart_region %}Chart of {{ series }}{% endblocktranslate %}
{% for c in charts %}{% include "stations/_index_chart.html" with chart=c.chart label=c.label view=c.view shown=c.shown only %}{% endfor %}
{% include "stations/_index_chart_tools.html" %}
{% if bars %}{% else %}{% endif %}{{ series_name }} {% if has_smooth %}{% translate "11-year running mean" %}{% endif %} {% if trend.valid %}{% translate "Sen's slope, with 95% interval shaded" %}{% endif %} {% if has_gaps %}{% if series.step == "month" %}{% translate "Month left out: incomplete" %}{% else %}{% translate "Year left out: incomplete" %}{% endif %}{% endif %}
{{ chart_data|json_script:"index-chart-data" }} {% else %}

{% translate "Every value of this series is missing, so there is nothing to draw." %}

{% endif %}
{% if rows %} {% comment %}A div: the table's scrolling region is the landmark, named by the heading.{% endcomment %}

{{ table_title }}

{% if ranked %}{% translate "Most recent first" %}{% endif %}
{% if has_anomaly %}{% endif %} {% if ranked %}{% endif %} {% if date_label %}{% endif %} {% for row in rows %} {% if has_anomaly %}{% endif %} {% if ranked %}{% endif %} {% if date_label %}{% endif %} {% endfor %}
{{ when_label }} {{ value_label }}{% translate "Anomaly" %}{% translate "Rank" %}{{ date_label }}{% translate "Note" %}
{{ row.when }} {{ row.value }}{{ row.anomaly }}{{ row.rank }}{{ row.date }}{{ row.note }}
{% endif %} {% endif %}
{% include "stations/_input_sheets.html" %} {% endblock %}