introduce the configuration for the IAF spacing

This commit is contained in:
Sven Czarnian
2021-12-21 10:42:16 +01:00
parent 83acbdc3b5
commit a2ea26ab5d

View File

@@ -108,6 +108,13 @@ class Airport:
def parseConstraints(self, planning):
self.ArrivalRouteConstraints = {}
# check if the IAF sequence constraint is defined
if 'iafsequence' in planning:
self.IafSpacing = float(planning['iafsequence'])
else:
self.IafSpacing = 10.0
# parse the arrival constraints
for key in planning:
if True == key.startswith('constraints'):
star = key.replace('constraints', '').upper()