Skip to content

Commit

Permalink
Figure out why SID couldn't be calculated for this route (#1223)
Browse files Browse the repository at this point in the history
Fixes #1222
  • Loading branch information
neilenns authored Apr 19, 2024
1 parent a968522 commit 4de1286
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions server/src/controllers/verifiers/checkSEAInitialSID.mts
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,10 @@ function calculateInitialSidAllGroups(
// This is checked first so flights on the SUMMA2 that eventually join J70 don't wind up
// getting the ELMAA4 departure.
// (104-160) J5/SEA 146R
if (directionOfFlight >= 104 && directionOfFlight <= 160 && flightPlan.cruiseAltitude >= 230) {
if (flightPlan.routeParts.includes("J20")) {
if (directionOfFlight >= 104 && directionOfFlight <= 160) {
// Issue #1222: This only applies to flights on J20 AoA 230
// A (Reroute J20 AoA FL230)
if (flightPlan.routeParts.includes("J20") && flightPlan.cruiseAltitude >= 230) {
return {
SID: "SUMMA2",
extendedMessage: "All: (104-160) ***Mandatory reroute off J20***, J5/SEA 146R.",
Expand Down

0 comments on commit 4de1286

Please sign in to comment.