FlightAware Discussions

Flight data is not accurate

API: FlightInfoEx

'FlightInfoExResult' =>
array (
'next_offset' => -1,
'flights' =>
array (
0 =>
array (
'faFlightID' => 'AAL115-1621639997-airline-0061',
'ident' => 'AAL115',
'aircrafttype' => 'A321',
'filed_ete' => '04:32:00',
'filed_time' => 1621808940,
'filed_departuretime' => 1621813200,
'filed_airspeed_kts' => 454,
'filed_airspeed_mach' => '',
'filed_altitude' => 340,
'route' => 'RBV Q430 SAAME J6 HVQ Q68 BWG ARG FSM IRW PNH J6 TCC J6 DRK J231 HIPPI GABBL HLYWD1',
'actualdeparturetime' => 1621815924,
'estimatedarrivaltime' => 1621834680,
'actualarrivaltime' => 1621834680,
'diverted' => '',
'origin' => 'KJFK',
'destination' => 'KLAX',
'originName' => 'John F Kennedy Intl',
'originCity' => 'New York, NY',
'destinationName' => 'Los Angeles Intl',
'destinationCity' => 'Los Angeles, CA',
),
),
),
)

Opening flight by submmiting below link:

Now calculating Delay based on answer of the thread “Departure delay” by @cbw

  • How late the arrival was = (actualarrivaltime - (filed_departuretime + filed_ete)).
    = 1621834680-(1621813200+04:32:00) → submitting value as per key
    = 1621834680-(1621813200+ 16320) → converting sec from hours * min
    = 1621834680-(1621829520) → adding filed_departuretime + filed_ete
    = 5160 → At final sum, we get this values. those amounts of second are late

Here are my observation:

  • filed_ete is wrong, image shows " 5h 41m" as total time, So whole calculation goes wrong.

We need to know that, how can we calculate correct delay & early like the image shows?

Does anyone responsible to answer questions?

Hello,

I looked into this further for you, and I believe the equation is correct

If you take a look at the flight in question, AAL115, but more specifically the landing times, you will see the scheduled landing was for 21:12 PDT. The actual landing time was 22:38 PDT. Take the difference of those two and you get exactly 1 hour and 26 minutes.

When you take your final sum of 5160, that comes out to 1 hour and 26 minutes.

So you do have the correct answer, but I believe you might have been looking in the wrong place to compare your answer to.

Hope this answers your question.

Taylor Fischer
Support Specialist

Toll Free: +1.800.713.8570
Support Line:+1.713.588.6514

Eleven Greenway Plaza, Suite 2900 - Houston, Texas - 70046
FlightAware


Learn about FlightAware Global and Premium Accounts: http://flightaware.com/commercial/
FlightAware


Learn about FlightAware Global and Premium Accounts: http://flightaware.com/commercial/