{% extends "layouts/base.html" %} {% block title %} {{ asset.calid }} {% endblock %} {% block stylesheets %} {% endblock stylesheets %} {% block content %}

Event Summary

{{ asset.calid }} {{ asset.name }}
Structure Profile {% comment %} {% include 'includes/modal-report.html' with event_summaries=event_summaries %} {% endcomment %}
{# BRIDGE RENDER #}
{% if asset.is_complete %} {% with cesmd=asset.cesmd %} {% with filename="bridges/InteractiveTwin-"|add:asset.cesmd|add:".html" %} {% include filename %} {% endwith %} {% endwith %} {% endif %}
{% if asset.is_complete %} {% endif %}
{# RESPONSE SUMMARY CARDS #} {% if asset.is_complete %}
{# if false #}
{% if all_evaluations.COLUMN_STRAIN_STATES %} {% with summary=all_evaluations.COLUMN_STRAIN_STATES.summary %} {% for model_name, metric_data in summary.items %} {% if metric_data.is_primary %}
{% else %}
{% endif %}
404 not found

Section strain damage states

Component damage states

Max: {{ metric_data.max_ds }}

{% if nce_version %} {{ metric_data.ds_descr }} timepoint: {{ metric_data.time }} {% endif %}
At {{ metric_data.no_col }} of 28 evaluated columns
{% endfor %} {% endwith %} {% else %}
NA
{% endif %}
{# endif #}
{% if all_evaluations.PEAK_DRIFT %} {% with summary=all_evaluations.PEAK_DRIFT.summary %} {% for model_name, metric_data in summary.items %} {% if metric_data.is_primary %}
{% else %}
{% endif %}
404 not found

Peak drift

{{ metric_data.peak | floatformat:3}} {{metric_data.units|safe}}

Peak drift

{{metric_data.peak | floatformat:3}} {{metric_data.units|safe}}
{% comment %} timepoint: {{metric_data.time}} {% endcomment %}
Location: {{metric_data.col}}
{% endfor %} {% endwith %} {% else %}
NA
{% endif %}
{% if all_evaluations.PEAK_ACCEL %} {% with summary=all_evaluations.PEAK_ACCEL.summary %} {% for model_name, metric_data in summary.items %} {% if metric_data.is_primary %}
{% else %}
{% endif %}

Peak acceleration

{{ metric_data.peak|floatformat:3}} {{ metric_data.units|safe }}

Peak acceleration

{{ metric_data.peak|floatformat:3 }} {{ metric_data.units|safe }}
Location: {{ metric_data.col }}
{% endfor %} {% endwith %} {% endif %}
{% endif %} {# if .rendering is not None #}
{% if event_data %}

Sensor Data

{# TODO: Have quakeio hoist record_identifier to event #} {% if event_data.motions and event_data.motions and event_data.motions.0.components.0 %} Record ID: {{ event_data.motions.0.components.0.record_identifier }} {% endif %}
{% if event_data.motions %} {# event_data #} {% for motion in event_data.motions %} {# #} {# #} {# #} {% for component in motion.components %} {% endfor %} {% for component in motion.components %} {% endfor %} {% for component in motion.components %} {% endfor %} {% endfor %}
Location IDs 1 2 3
{{ motion.components.0.location_name }}{{ component.station_channel }}{{ component.component }}
{% for component in motion.components %} {{ component.station_channel }} {% endfor %}
{{ component.accel.shape }}
{{ component.peak_accel }}
{% endif %}
{% endif %} {% if nce_version %}

Predictor progress

See tasks
M1 - Linear structural analysis.
75 %
M2 - Nonlinear structural analysis
60 %
{% if nce_version %}
{% else %}
{% endif %}
A1 - ARIMA predictor
45 %
A2 - LSTM predictor
34 %
{% else %}

System ID

Event results for configured system identification procedures.

{% comment %}

NA

{% endcomment %} {% comment %}
404 not found

33.50%

{% endcomment %}
{% if all_evaluations.SPECTRAL_SHIFT_IDENTIFICATION %} {% with summary=all_evaluations.SPECTRAL_SHIFT_IDENTIFICATION.summary %} {% for model_name, metric_data in summary.items %} {{ metric_data.description }} {% if "error" in metric_data %} {{ metric_data.error }} {% else %}
{# metric_data.data #} {% for head in metric_data.data.0.keys %} {% endfor %} {% for row in metric_data.data|dictsortreversed:"amplitude"|slice:10|default:metric_data.data|slice:10 %} {% for key,col in row.items %} {% endfor %} {% endfor %}
{{ head.title }}
0.9 and key.lower == "mpc" or col > 0.9 and key.lower == "emac" %}text-success{% endif %}">{% if key.lower != "shape" %}{{ col | floatformat:3 }}{% else %}{{ col }}{% endif %}
{% endif %}
{% endfor %} {% endwith %} {% else %}
NA
{% endif %} {# #}
{% endif %}

Frequency Content

{% if nce_version %}

18.2%

{% endif %}
{% comment %}
Frequency [Hz]
Damping [%]
{% endcomment %}
{% comment %} {% endcomment %}
{% comment %}
{% if False %}
Global Rank
Country Rank
United States
Category Rank
Computers Electronics > Technology
{% endif %}
{% endcomment %} {% comment %}

Local News

{% if True %}

An earthquake has been felt in Bakersfield

A quick synopsis

{% endif %} {% if False %}
404 not found

33.50%

{% endif %} {% if False %}
{% if all_evaluations.SPECTRAL_SHIFT_IDENTIFICATION %} {% with summary=all_evaluations.SPECTRAL_SHIFT_IDENTIFICATION.summary %} {% for model_name, metric_data in summary.items %} {% if "error" in metric_data %} {{ metric_data.error }} {% else %}
{% for head in metric_data.data.0.keys %} {% endfor %} {% for row in metric_data.data %} {% for col in row.values %} {% endfor %} {% endfor %}
{{ head.title }}
{{ col | floatformat:3 }}
{% endif %}
{% endfor %} {% endwith %} {% else %}
NA
{% endif %} {% endif %}
{% endcomment %}
{% endblock content %} {% block javascripts %} {% if False %} {% endif %} {% endblock javascripts %}