{% load i18n ui %}{% comment %} A gridded run's Map (#295, #296, the GridMap board): the index rail, the map and the cell pane, across the whole window as the station Indices. Every control is a link or a GET form on the run's address (gridded.map_page), so it works without JavaScript; js/gridded-map.js swaps this block in place (X-Climpact-Part: map) and the pane alone when a cell is chosen (X-Climpact-Part: pane), reads out the cell under the pointer and moves the selection with the arrow keys. The map is a PNG with one pixel per cell (gridded:map_png, in the theme's colours; on Trend each cell several pixels a side, with a dot where the 95% interval excludes zero) under an SVG of the coastline, places, axes and the selected cell. The view (Year, Base mean, Anomaly, Trend, #296) needs the run's trends.nc: without it, or for a day-of-year file, the three are shown unavailable and the reason is said. A monthly file has the three of the chosen month, from trends.nc's monthly variables (#348); a run whose trends.nc has none has Base mean and Anomaly computed from its values, and no Trend. Context from gridded.map_page.context. {% endcomment %}

{{ entry.code }} {{ "·" }} {{ entry.name }}

{% if entry.definition %}{{ entry.definition }} {% endif %}{{ file.name }}

{% for v in views %}{% if v.available %}{{ v.label }}{% else %}{{ v.label }}{% endif %}{% endfor %}
{% for fq in freq_links %}{% if fq.url %}{{ fq.label }}{% else %}{{ fq.label }}{% endif %}{% endfor %}
{% if scales %}
{% for sc in scales %}{% if sc.url %}{{ sc.label }}{% else %}{{ sc.label }}{% endif %}{% endfor %}
{% endif %} {% if time.shown %}{% endif %}

{{ hint }}

{% if unavailable %}

{{ unavailable }}

{% endif %}
{% if frame.coast %}{% endif %} {% for p in frame.places %}{{ p.name }}{% endfor %} {% for tick in frame.x_ticks %}{{ tick.text }}{% endfor %} {% for tick in frame.y_ticks %}{{ tick.text }}{% endfor %}

{% translate "Arrow keys move the selected cell; its value is read out and its series shown." %}

{{ legend.title }}{{ legend.range }}
{% if legend.bins %}
    {% for t in legend.ticks %}
  1. {{ t }}
  2. {% endfor %}
{% endif %}

{% translate "No value" %}{% if legend.dots %}{{ legend.dots }}{% endif %}

{{ grid_data|json_script:"gmap-data" }}
{% include "gridded/_cell_pane.html" %}