{% 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 "Look for values or years that stand out, rounding, and changes in how rain was measured." %}

{% section_help "quality.distributions" %}

{% translate "By month" %}

{% translate "One box per calendar month. Circled values are the outliers in the lists." %}

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

{% translate "By year" %}

{% translate "One box per year. A year that stands out may hold wrong values or a change at the station." %}

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

{% translate "Decimal values" %}

{% 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" %}

{{ 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.{% plural %}{{ total }} days of 1 mm or more. Each bar is 2 mm wide.{% 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 }}