Skip to content

Commit

Permalink
Merge branch 'main' into NET0470-operator-id
Browse files Browse the repository at this point in the history
  • Loading branch information
barroco authored Sep 14, 2023
2 parents 9ec0318 + 374a67f commit 7a72b2d
Show file tree
Hide file tree
Showing 7 changed files with 491 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -365,9 +365,18 @@ def _evaluate_normal_observation(
]
observed_position = mapping.observed_flight.most_recent_position
injected_position = injected_telemetry.position

with self._test_scenario.check("Altitude is present") as check:
if "alt" not in injected_position:
check.record_failed(
summary="Displayed flight is missing altitude",
severity=Severity.Medium,
details=f"Displayed data for injected flight {mapping.injected_flight.flight.injection_id} in test {mapping.injected_flight.test_id} at {injected_telemetry.timestamp} does not have altitude",
)

if "alt" in observed_position:
with self._test_scenario.check(
"Observed altitude",
"Correct up-to-date altitude",
[
observer.participant_id,
mapping.injected_flight.uss_participant_id,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,13 @@ The timestamps of the injected telemetry usually start in the future. If a flig

**[astm.f3411.v19.NET0290](../../../../requirements/astm/f3411/v19.md)** requires a SP uses Telemetry vs extrapolation when telemetry is present.

#### Observed altitude check
#### Altitude is present check

**[astm.f3411.v19.NET0470](../../../../requirements/astm/f3411/v19.md)** requires that a Display Provider provides any specified data fields in accordance with the common data dictionary when responding to a Display Application. If the observed altitude of a flight does not match the altitude of the injected telemetry, this check will fail.
Failure to report the altitude of a flight is a violation of **[astm.f3411.v19.NET0470](../../../../requirements/astm/f3411/v19.md)**.

#### Correct up-to-date altitude check

If the observed altitude of a flight does not match the altitude of the injected telemetry, the display provider is not providing precise and up-to-date information, and thus does not respect **[astm.f3411.v19.NET0450](../../../../requirements/astm/f3411/v19.md)**.

#### Area too large check

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,13 @@ The timestamps of the injected telemetry usually start in the future. If a flig

**[astm.f3411.v22a.NET0290](../../../../requirements/astm/f3411/v22a.md)** requires a SP uses Telemetry vs extrapolation when telemetry is present.

#### Observed altitude check
#### Altitude is present check

**[astm.f3411.v22a.NET0470](../../../../requirements/astm/f3411/v22a.md)** requires that a Display Provider provides any specified data fields in accordance with the common data dictionary when responding to a Display Application. If the observed altitude of a flight does not match the altitude of the injected telemetry, this check will fail.
Failure to report the altitude of a flight is a violation of **[astm.f3411.v22a.NET0470](../../../../requirements/astm/f3411/v22a.md)**.

#### Correct up-to-date altitude check

If the observed altitude of a flight does not match the altitude of the injected telemetry, the display provider is not providing precise and up-to-date information, and thus does not respect **[astm.f3411.v22a.NET0450](../../../../requirements/astm/f3411/v22a.md)**.

#### Area too large check

Expand Down
7 changes: 6 additions & 1 deletion monitoring/uss_qualifier/suites/astm/netrid/f3411_19.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<th>Checked in</th>
</tr>
<tr>
<td rowspan="44" style="vertical-align:top;"><a href="../../../requirements/astm/f3411/v19.md">astm<br>.f3411<br>.v19</a></td>
<td rowspan="45" style="vertical-align:top;"><a href="../../../requirements/astm/f3411/v19.md">astm<br>.f3411<br>.v19</a></td>
<td><a href="../../../requirements/astm/f3411/v19.md">A2-6-1,1a</a></td>
<td>Implemented</td>
<td><a href="../../../scenarios/astm/netrid/v19/dss_interoperability.md">ASTM F3411-19 NetRID DSS interoperability</a></td>
Expand Down Expand Up @@ -211,6 +211,11 @@
<td>Implemented</td>
<td><a href="../../../scenarios/astm/netrid/v19/aggregate_checks.md">ASTM F3411-19 NetRID aggregate checks</a></td>
</tr>
<tr>
<td><a href="../../../requirements/astm/f3411/v19.md">NET0450</a></td>
<td>Implemented</td>
<td><a href="../../../scenarios/astm/netrid/v19/nominal_behavior.md">ASTM NetRID nominal behavior</a></td>
</tr>
<tr>
<td><a href="../../../requirements/astm/f3411/v19.md">NET0470</a></td>
<td>Implemented</td>
Expand Down
Loading

0 comments on commit 7a72b2d

Please sign in to comment.