{% extends "base.html" %} {% load i18n static ui help charts %} {% block title %}{% blocktranslate with title=card.title name=card.name station=analysis.station_name %}{{ title }} ({{ name }}): {{ station }}{% endblocktranslate %}{% endblock %} {% block head %}{% if chart_url %}{% chart_scripts %}{% endif %}{% endblock %} {% block steps %}{% include "components/steps.html" %}{% endblock %} {% block content %}

{{ card.code }}

{{ card.title }}

{% if card.units %}{% blocktranslate with definition=card.definition units=card.units %}{{ definition }} ({{ units }}){% endblocktranslate %}{% else %}{{ card.definition }}{% endif %}

{% blocktranslate with name=analysis.station_name %}Station {{ name }}.{% endblocktranslate %}{% if from_batch %} {% translate "From the batch run." %}{% endif %}

{% blocktranslate with code=card.code asvar topic_question %}How is {{ code }} defined?{% endblocktranslate %}{% help_topic card.topic summary=topic_question %} {% if card.param_topic %}

{% url 'stations:indices' analysis.pk as indices_url %}{% blocktranslate with url=indices_url key=card.key|urlencode trimmed %}This index depends on a setting. Change it and calculate again; you come back to this index afterwards.{% endblocktranslate %}

{% endif %}
{% if card.series|length > 1 %} {% endif %} {% if stats %}
{% if trend.valid %} {% blocktranslate with slope=trend.slope_text units=card.units asvar trend_value %}{{ slope }} {{ units }}{% endblocktranslate %} {% blocktranslate with lower=trend.lower_text upper=trend.upper_text asvar trend_note %}per decade; 95% interval {{ lower }} to {{ upper }}{% endblocktranslate %} {% translate "Trend" as trend_label %}{% include "components/stat.html" with label=trend_label value=trend_value note=trend_note %} {% if trend.significant %}{% translate "Yes: the interval excludes zero" as sig_note %}{% translate "Yes" as sig_value %}{% else %}{% translate "No: the interval includes zero" as sig_note %}{% translate "No" as sig_value %}{% endif %} {% translate "Significant at 5%" as sig_label %}{% include "components/stat.html" with label=sig_label value=sig_value note=sig_note %} {% elif trend %} {% translate "Trend" as trend_label %}{% translate "None" as none_value %}{% translate "needs at least 10 values and 70% of the series" as none_note %} {% include "components/stat.html" with label=trend_label value=none_value note=none_note %} {% endif %} {% for s in stats %}{% include "components/stat.html" with label=s.label value=s.value note=s.note %}{% endfor %}
{% endif %} {% if chart_url %} {% if png_path %}{% url 'jobs:file' job.pk png_path as png_url %}{% endif %} {% url 'jobs:file' job.pk csv_path as csv_url %} {% include "components/chart_frame.html" with id="index-chart" heading=2 title=chart_title data_url=chart_url image_src=png_url csv_href=csv_url height="22rem" only %} {% help_topic "trend.sen_slope" %} {% endif %} {% if anomaly_url %}

{% translate "Standardised anomalies" %}

{% translate "Each value's distance from the mean of all years, in standard deviations, as in the table's last column." %}

{% translate "Standardised anomalies" as anomaly_title %} {% include "components/chart_frame.html" with id="anomaly-chart" title=anomaly_title data_url=anomaly_url height="14rem" only %} {% help_topic "results.standardised" %}
{% 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 }} above zero, {{ missing }} 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 }}
{% endif %} {% if trend_rows %}

{% translate "Trends in the trend file" %}

{% translate "The rows of the trend file for this index, as written: Sen's slope per year (per month for the monthly row) and its 95% confidence interval." %}

{% for row in trend_rows %} {% if row.valid %} {% else %}{% endif %} {% endfor %}
{% translate "The trend file's rows for this index" %}
{% translate "Series" %}{% translate "Years" %} {% translate "Lower bound" %}{% translate "Slope" %}{% translate "Upper bound" %} {% translate "Significant" %}
{{ row.label }} {{ row.per }}{% blocktranslate with start=row.start end=row.end %}{{ start }} to {{ end }}{% endblocktranslate %}{{ row.lower|floatformat:"-4" }}{{ row.slope|floatformat:"-4" }}{{ row.upper|floatformat:"-4" }} {% if row.significant %}{% translate "Yes" %}{% else %}{% translate "No" %}{% endif %}{% translate "Too few values" %}
{% help_topic "trend.seasons" %}
{% endif %}

{% translate "Downloads" %}

{% if chart_url %}

{% translate "The chart as you see it: zoom to the years you want, then PNG or SVG above the chart saves that view." %} {% translate "Go to the chart" %}

{% endif %}
{% endblock %}