introduce the configuration for the IAF spacing
This commit is contained in:
@@ -108,6 +108,13 @@ class Airport:
|
|||||||
def parseConstraints(self, planning):
|
def parseConstraints(self, planning):
|
||||||
self.ArrivalRouteConstraints = {}
|
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:
|
for key in planning:
|
||||||
if True == key.startswith('constraints'):
|
if True == key.startswith('constraints'):
|
||||||
star = key.replace('constraints', '').upper()
|
star = key.replace('constraints', '').upper()
|
||||||
|
|||||||
Reference in New Issue
Block a user