{% load i18n ui help %}{% comment %} The distribution plots (#77) that replace the plots of R's quality-control step: monthly box plots (fourboxes), box plots by year (boxseries), decimal values (roundcheck) and the precipitation histogram. Drawn on the server (qc_plots.py), each with its table. Context: monthly, annual, decimals, histogram. {% endcomment %}

{% translate "Distributions" %}

{% translate "The plots of the quality-control step of Climpact for R, to spot values or years that stand out, rounding by observers and changes in how precipitation was measured." %}

{% translate "By month" %}

{% help_topic "qc.outliers" %}

{% translate "One box per calendar month: the box spans the middle half of the values, the line is the median, and the whiskers end at the outlier range set in the thresholds. Circled values beyond them are the outliers listed above." %}

{% for plot in monthly %}{% include "stations/_qc_box_plot.html" %}{% endfor %}

{% translate "By year" %}

{% translate "One box per year, whiskers at 4 interquartile ranges for precipitation and 3 for temperatures (as in Climpact for R). A year that stands out may hold wrong values or a change at the station." %}

{% help_topic "qc.homogeneity" %}
{% for plot in annual %}{% include "stations/_qc_box_plot.html" %}{% endfor %}

{% translate "Decimal values" %}

{% help_topic "qc.rounding" %}
{% for plot in decimals %}
{{ plot.title }}
{% if plot.svg %}{{ plot.svg }}{% else %}

{% translate "No data." %}

{% endif %}
{% icon "table" %}{% translate "View as table" %}{% icon "chevron-down" %}
{% for row in plot.rows %}{% endfor %}
{% translate "Decimal" %}{% translate "Days" %}{% translate "Share" %}
{{ row.label }}{{ row.count|count }}{% blocktranslate with percent=row.percent %}{{ percent }}%{% endblocktranslate %}
{% endfor %}

{% translate "Precipitation amounts" %}

{% help_topic "qc.precip_histogram" %}
{{ histogram.title }}

{% blocktranslate count counter=histogram.total with total=histogram.total|count trimmed %}{{ total }} day of 1 mm or more. Each bar is 2 mm wide and labelled with its upper limit.{% plural %}{{ total }} days of 1 mm or more. Each bar is 2 mm wide and labelled with its upper limit.{% endblocktranslate %}

{% if histogram.svg %}{{ histogram.svg }}{% else %}

{% translate "No day with 1 mm or more." %}

{% endif %}
{% icon "table" %}{% translate "View as table" %}{% icon "chevron-down" %}
{% for row in histogram.rows %}{% endfor %}
{% translate "Amount (mm)" %}{% translate "Days" %}
{{ row.label }}{{ row.count|count }}