{% extends 'base.html' %} {% import 'macros/components.html' as components %} {% block extra_head_tags %} {% if status_code == 200 %} {% endif %} {% endblock %} {% block page_script %} {% if json_ld %} {% endif %} {% endblock page_script %} {% set body_id = 'monitoring-location' %} {% if stations|length == 1 %}{% set page_title = stations[0].station_nm %}{% endif %} {% block content %}
{% if status_code == 200 %} {% if stations|length > 1 %}

Multiple sites found

Please pick a site:

{% for site in stations %} {% endfor %}
Agency Site number Site name
{{ site.agency_cd }} {{ site.site_no }} {{ site.station_nm }}
{% else %} {{ components.TimeseriesComponent(stations[0].site_no) }} {% if stations[0].dec_lat_va and stations[0].dec_long_va %} {{ components.FloodSliderComponent() }} {{ components.MapComponent(stations[0].site_no, stations[0].dec_lat_va, stations[0].dec_long_va) }} {% endif %} {% if parm_grp_summary %} {% endif %} {% for key, value in location_with_values.items() %} {% endfor %}
Metadata Element Location Metadata Metadata Code
{{ STATION_FIELDS_D[key].name }} {% if STATION_FIELDS_D[key].description %} {{ components.QuestionTooltip(key, STATION_FIELDS_D[key].description, True) }} {% endif %} {% if value.code != value.name %}{{ value.code }}{% else %}n/a{% endif %}
{% if questions_link %}
Email USGS questions about this site
{% endif %} {% endif %} {% else %}

Error: HTTP {{ status_code }} -- {{ reason }}

{% endif %}
{% endblock content %}