{% extends "base.html" %} {% comment %} # # Copyright (c) 2016 NIBIO . # # This file is part of VIPSWeb. # VIPSWeb is free software: you can redistribute it and/or modify # it under the terms of the NIBIO Open Source License as published by # NIBIO, either version 1 of the License, or (at your option) any # later version. # # VIPSWeb is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # NIBIO Open Source License for more details. # # You should have received a copy of the NIBIO Open Source License # along with VIPSWeb. If not, see . # # @author: Tor-Einar Skog {% endcomment %} {% load i18n l10n static forecast_extras %} {% block title%}{% trans "Details" %}{%endblock%} {% block content %}

{% trans "Details" %}

{% localize off %} {% endlocalize %}
  • {% trans "Model" %}: {{forecast_configuration.model_local_name}}
  • {% trans "Location" %}: {{forecast_configuration.location_point_of_interest.name}}
  • {% trans "Weather station" %}: {{forecast_configuration.weather_station_point_of_interest.name}} ({% trans "Distance to location" %}: {{ forecast_configuration.weather_station_point_of_interest | distanceto:forecast_configuration.location_point_of_interest}} km)
  • {% trans "Period" %}: {{forecast_configuration.date_start}} - {{forecast_configuration.date_end}}
  • {% trans "Showing latest" %} {% filter lower %}{% trans "Days" %}{% endfilter %}
{% if forecast_results|length > 0 %}
{% if forecast_configuration.model_local_warning_status_interpretation|length > 0 %} {% endif %}
{% for result_parameter in result_parameters %} {% endfor %} {% for result in forecast_results reversed %} {% for result_parameter in result_parameters %} {% endfor %} {% endfor %}
{% trans "Timestamp" %} {% trans "Warning status" %}{{ result_parameter.get_local_name }} ({{result_parameter.key}})
{{ result.valid_time_start|date:"Y-m-d H:i" }}  {{ result.all_values|lookup:result_parameter.getNamespaceKey}}
{% else %}
{% trans "No results for this forecast" %}
{% endif %} {% endblock %} {% block customCSS %} {% endblock %} {% block customJS %} {% endblock %}