{# USGS NWIS water observations. Fields from payload->data->data. #} {% set d = (event.data.get('data') or {}).get('data') or {} %} {% if d.get('parameter_code') is not none %}
Parameter
{{ d.parameter_code }}
{% endif %} {% if d.get('value') is not none %}
Value
{{ d.value }} {{ d.get('unit_of_measure', '') }}
{% endif %} {% if d.get('monitoring_location_id') is not none %}
Site
{{ d.monitoring_location_id }}
{% endif %} {% if d.get('statistic_id') is not none %}
Statistic
{{ d.statistic_id }}
{% endif %}