Hello,
I need some help on how to interpret some values obtained via FlighInfoStatus (FlightXML3):
I have a flight that is currently enroute:
{
"ident": "UAE406",
"faFlightID": "UAE406-1520143500-schedule-0000",
"airline": "UAE",
"airline_iata": "EK",
"flightnumber": "406",
"tailnumber": "A6-EDC",
"type": "Form_Airline",
"codeshares": "QFA8406",
"blocked": false,
"diverted": false,
"cancelled": false,
"origin": {
"code": "OMDB",
"city": "Dubai",
"alternate_ident": "DXB",
"airport_name": "Dubai Int'l"
},
"destination": {
"code": "YMML",
"city": "Melbourne, Victoria",
"alternate_ident": "MEL",
"airport_name": "Melbourne Tullamarine"
},
"filed_ete": 48120,
"route": "DCT ANVIX L223 TARDI N629 GIDAN/N0499F350 P570 KITAL L894 BIBGO DCT SUNAN L894 DADAR DCT KAMUN/N0491F370 DCT IDEVI DCT SAKEG DCT 10S087E/M084F370 13S090E/M085F390 18S095E 20S097E 25S103E 28S107E DCT ACOOL/N0484F390 DCT KEELS DCT 33S117E DCT MOLGA/N0483F410 DCT 35S124E DCT RIDLE DCT ROMPA DCT RUFLE DCT BUNGY DCT MTG Y53 WENDY V279 ML",
"filed_altitude": 330,
"display_filed_altitude": "33,000 feet",
"filed_airspeed_kts": 501,
"distance_filed": 7330,
"filed_departure_time": {
"epoch": 1520316300,
"tz": "+04",
"dow": "Tuesday",
"time": "10:05",
"date": "03/06/2018",
"localtime": 1520330700
},
"estimated_departure_time": {
"epoch": 1520320200,
"tz": "+04",
"dow": "Tuesday",
"time": "11:10",
"date": "03/06/2018",
"localtime": 1520334600
},
"actual_departure_time": {
"epoch": 1520321571,
"tz": "+04",
"dow": "Tuesday",
"time": "11:32",
"date": "03/06/2018",
"localtime": 1520335971
},
"departure_delay": 3960,
"filed_arrival_time": {
"epoch": 1520364420,
"tz": "AEDT",
"dow": "Wednesday",
"time": "06:27",
"date": "03/07/2018",
"localtime": 1520404020
},
"estimated_arrival_time": {
"epoch": 1520367480,
"tz": "AEDT",
"dow": "Wednesday",
"time": "07:18",
"date": "03/07/2018",
"localtime": 1520407080
},
"actual_arrival_time": {
"epoch": 0
},
"arrival_delay": 4440,
"status": "En Route / Delayed",
"progress_percent": 31,
"aircrafttype": "A388",
"full_aircrafttype": "A388",
"adhoc": false
}
From your FAQ I have these informations on how to calculate some data:
How late the departure was = (actualdeparturetime - filed_departuretime).
How late the arrival was = (actualarrivaltime - (filed_departuretime + filed_ete)).
If I calculate it then (using epochs):
How late the departure was = (1520321571 - 1520316300) = 5271
departure_delay is 3960
What you currently show in your site is the departure delay time, not the calculation time I’ve computed: EK406 (UAE406) Emirates Flight Tracking and History - FlightAware
Same happens to “How late the arrival was” calculation and arrival_delay.
What value I should use?
Can you please revise and advise me on this?
Thanks in advance