# ETA Drift Chart

Industry: Transport

**Key point — planned, estimated, requested and actual times**

One field often holds four kinds of time, and the newest record is not the best one. `bestAvailable` picks one and returns its class with it, so a column can say what it shows.

The four kinds are planned (PLN), estimated (EST), requested (REQ) and actual
(ACT). The codes are the ones container shipping schedules use.

Drift is the last estimate minus the first. It exceeds a tolerance only when
it is greater than it, in either direction. Drag the tolerance and watch
`exceedsTolerance` change.

**Worth trying:** [an estimate recorded after the
actual](/gmt/tools/eta-drift/?w=etadrift&wa=%7B%22preset%22%3A%22est-after-act%22%7D)
marks the actual as the best available. The late estimate is the naive pick:
what you get by taking the newest record.
Then [a tolerance of exactly 9
hours](/gmt/tools/eta-drift/?w=etadrift&wa=%7B%22preset%22%3A%22vessel-slide%22%2C%22tolerance%22%3A%22PT9H%22%7D):
the drift is 9 hours, equal does not exceed, and `exceedsTolerance` is false.

Reference: [`bestAvailable`](/gmt/reference/transport/calculate/bestAvailable/) and
[`estimateDrift`](/gmt/reference/transport/calculate/estimateDrift/) are the two
calls behind every reading here. See the guide's
[timestamp class section](/gmt/guides/industries/transport-punctuality-and-timestamps/#one-field-four-meanings-bestavailable)
and its
[drift section](/gmt/guides/industries/transport-punctuality-and-timestamps/#how-far-the-estimate-moved-estimatedrift),
and the scenario
[An Estimate Shown as the Actual](/gmt/scenarios/estimate-shown-as-actual/).
